yiisoft/yii2 — pull request #6255 by sjoorm (2014-11-26 05:38:22+00:00)
Title: hotfix: Query->count() returns value of integer type, 

As declared in PHPDoc. Might be useful sometimes, if you want to "===" the result.