Query\Query_Builder_Interface::count_all_results

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