Only set the total count from a cached query if it is known to not be truncated by paging.
Only set the total count from a cached query if it is known to not be truncated by paging.

git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@18439 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful