Query\QueryBuilder::countAllResults

Retrieve the number of results for the generated query - used in place of the get() method