public static function getCountByCondition($condition = []) { return ActivityBar::find()->where($condition)->count(); }