`MongoCursor::count` and `MongoCollection::count` always returns *int*.
And in this case there are no prerequisites to believe that will be an array.

Please see:
+ http://www.php.net/manual/en/mongocollection.count.php
+ http://www.php.net/manual/en/mongocursor.count.php