Note that this refers to all CMS objects, not just the ones included in this search. Also note that the count is approximate.
Returns
Number
Example
Total number of Obj
s that have this value.
facets = Scrivito.getClass("BlogPost").where('tags', 'contains', 'design').facet('tags', { includeObjs: 5 });
totalObjs = facets[0].count();
Note that this refers to all CMS objects, not just the ones included in this search. Also note that the count is approximate.
Returns
Number
Example
See ObjSearch#facet
.