_relation->getQuery($this->model::className())->$name(...$arguments); return $this; } /** * @return array|null|ActiveRecord * @throws Exception */ public function get() { return $this->_relation->count($this->model::className(), $this->value); } }