public function getCompareItemCount()
    {
        if ($this->_iCompItemsCnt === null) {
            $items = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('aFiltcompproducts');
            $this->_iCompItemsCnt = is_array($items) ? count($items) : 0;
        }

        return $this->_iCompItemsCnt;
    }