Update docs/paginator.rst with a warning and an example solution, to avo...

Update docs/paginator.rst with a warning and an example solution to avoid unnecessary and possibly inefficient database queries in calculating "total_count"; closes #973.