source/Application/Controller/FrontendController.php
public function getCompareItemsCnt()
    {
        $compareController = oxNew(\OxidEsales\Eshop\Application\Controller\CompareController::class);

        return $compareController->getCompareItemsCnt();
    }
public function getCompareItemsCnt()
    {
        $compareController = oxNew(\OxidEsales\Eshop\Application\Controller\CompareController::class);

        return $compareController->getCompareItemsCnt();
    }
public function getCompareItemsCnt ( ) { $ compareController = oxNew ( \ OxidEsales \ Eshop \ Application \ Controller \ CompareController :: class ) ; return $ compareController -> getCompareItemsCnt ( ) ; }
Template variable getter. Returns article list count in comparison.

@return integer
Template variable getter . Returns article list count in comparison .