joomla/joomla-platform — pull request #1698 by malkowitch (2012-11-16 12:58:27+00:00)
Title: Update libraries/legacy/model/list.php

Count uses less memory and is usually quicker. Tested on mysql, not sure about mssql