Yii2 mongo db group by count example

$collection = Yii::$app->mongodb->getCollection('collectionname');         $callingstationidCount = $collection->aggregat...