protected function _countRows($sTable, $blMode)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sRequest = 'SELECT COUNT(*) FROM ' . $sTable;

        if ($blMode == false) {
            $sRequest .= ' WHERE oxactive = 1';
        }

         $aRes = $oDb->select($sRequest)->fields[0];

        return $aRes;
    }