Backend\Modules\Faq\Engine\Model::getCategoryCount PHP Method

getCategoryCount() public static method

Fetch the category count
public static getCategoryCount ( ) : integer
return integer
    public static function getCategoryCount()
    {
        return (int) BackendModel::getContainer()->get('database')->getVar('SELECT COUNT(i.id)
             FROM faq_categories AS i
             WHERE i.language = ?', array(BL::getWorkingLanguage()));
    }