public function index() { $this->vars['total'] = Comment::count(); $this->vars['published'] = Comment::isPublished()->count(); $this->vars['hidden'] = $this->vars['total'] - $this->vars['published']; $this->asExtension('ListController')->index(); }