Reads and caches the total number of entities this query operates on. This causes a database query with SELECT COUNT(*) and a query equivalent to the current query, minus ordering.
SELECT COUNT(*)
the total number of entities this query operates on, cached.