statistics backend by yii2