public function setTopicsCountCache() { $this->forum_topics_real = $this->topics()->count(); $this->forum_topics = $this->topics()->where('topic_approved', true)->count(); }