cakephp/docs — pull request #1031 by mrcodex (2014-01-19 20:49:05+00:00)
Title: The countBy example was using the groupBy method

Hi,

In http://book.cakephp.org/3.0/en/core-libraries/collections.html#grouping-and-counting, the countBy example was using groupBy method and not the countBy.