Query\QueryBuilderInterface::countAllResults

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