public function count_all() { $this->_check_scope_deleted(); $this->_check_scope_published(); return parent::count_all(); }