cakephp/cakephp — pull request #3333 by eagerterrier (2014-04-16 17:12:10+00:00)
Title: Enhancement to paginator

No point in finding the count (via model) if the returned result count
is less than our limit. We then know that the count is the count of our
results