source/Application/Model/RecommendationList.php
public function getSearchRecommListCount($sSearchStr)
    {
        $iCnt = 0;
        $sSelect = $this->_getSearchSelect($sSearchStr);
        if ($sSelect) {
            $sPartial = substr($sSelect, strpos($sSelect, ' from '));
            $sSelect = "select count( distinct rl.oxid ) $sPartial ";
            $iCnt = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getOne($sSelect);
        }

        return $iCnt;
    }
public function getSearchRecommListCount($sSearchStr)
    {
        $iCnt = 0;
        $sSelect = $this->_getSearchSelect($sSearchStr);
        if ($sSelect) {
            $sPartial = substr($sSelect, strpos($sSelect, ' from '));
            $sSelect = "select count( distinct rl.oxid ) $sPartial ";
            $iCnt = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getOne($sSelect);
        }

        return $iCnt;
    }
public function getSearchRecommListCount ( $ sSearchStr ) { $ iCnt = 0 ; $ sSelect = $ this -> _getSearchSelect ( $ sSearchStr ) ; if ( $ sSelect ) { $ sPartial = substr ( $ sSelect , strpos ( $ sSelect , ' from ' ) ) ; $ sSelect = "select count( distinct rl.oxid ) $sPartial " ; $ iCnt = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> getOne ( $ sSelect ) ; } return $ iCnt ; }
Returns the amount of lists according to search parameters.

@param string $sSearchStr Search string

@return int
Returns the amount of lists according to search parameters .