Docs > API > SearchTotal
SearchTotal objects can be returned by a search using Finder. For example:
var f = new Finder([
{returnFormat: 'totals'}
]);
var result = f.find();
searchTotal = result[0];
out.write(searchTotal.total);
| Properties | |
|---|---|
| total | Total number of search results. |
| value | The value of the first result. |
| values | The value of all results (as an array). |



