public function countForums() { $sql = 'SELECT COUNT(*) FROM ' . $this->_forums_table . ' WHERE active = ? AND scope = ?'; return $this->_db->selectValue($sql, array(1, $this->_scope)); }