Template variable getter. Returns article list count in comparison.

@return integer
189220
public function getCompareItemsCnt()
    {
        $compareController = oxNew(\OxidEsales\Eshop\Application\Controller\CompareController::class);

        return $compareController->getCompareItemsCnt();
    }
145050
protected function GetReviews()
    {
        $oActiveArticle = TdbShop::GetActiveItem();
        $oReviewList = null;
        if ($oActiveArticle) {
            $oReviewList = $this->GetReviewsForArticle($oActiveArticle);
        } else {
            $oReviewList = $this->GetReviewsForUser();
        }

        return $oReviewList;
    }
147050
public function getCountType( $kind = XPathNodeType::All )
	{
		$count = 0;

		/**
		 * @var XPath2NodeIterator $iter
		 */
		$iter = $this->CloneInstance();
		$iter->Reset();
		while ( $iter->MoveNext() )
		{
			$result = $iter->getCurrent();
			if ( $result instanceof ExprIterator )
			{
				$count += $result->getCount( $kind );
			}
			else
			{
				if ( $kind == XPathNodeType::All || $kind == $result->getNodeType() )
				{
					$count++;
				}
			}
		}

		return $count;
	}
340153
protected function getItemsPerPage()
    {
        $perPage = (int)$this->resultSet->getUsedSearch()->getQuery()->getRows();
        return $perPage > 0 ? $perPage : 10;
    }
1188726
public function count()
    {
        $traversable = $this->optimizeUnwrap();

        if (is_array($traversable)) {
            return count($traversable);
        }

        return iterator_count($traversable);
    }
821228
public function getPerPage()
	{
		$items_per_page_list = array_keys($this->getItemsPerPageList());

		$per_page = $this->per_page ?: reset($items_per_page_list);

		if (($per_page !== 'all' && !in_array((int) $this->per_page, $items_per_page_list, true))
			|| ($per_page === 'all' && !in_array($this->per_page, $items_per_page_list, true))) {
			$per_page = reset($items_per_page_list);
		}

		return $per_page;
	}
38964
public function getPageNumbers()
    {
        $pages = range(1, $this->getPagesCount());

        // And has an styling adapter
        if ($this->getPagesCount() > 10 && $this->hasAdapter()) {
            return $this->style->getPageNumbers($pages, $this->getCurrentPage());
        } else {
            return $pages;
        }
    }
24938
public function sumOfferCount()
    {
        $count = $this->getOfferCount();
        if ($this->getParent()) {
            $count += $this->getParent()->getOfferCount();
        }

        if ($this->getLinkedSites()->count()) {
            /** @var Site $linked */
            foreach ($this->getLinkedSites() as $linked) {
                $count += $linked->getOfferCount();
            }
        }

        if ($this->getSubDomains()->count()) {
            foreach ($this->getSubDomains() as $linked) {
                $count += $linked->getOfferCount();
            }
        }

        return $count;
    }
1244162
public function count()
    {
        if ($this->isReference() && $this->getProject() !== null) {
            try {
                return $this->getRef($this->getProject())->count();
            } catch (Exception $e) {
                throw $e;
            }
        }

        return count($this->selectorsList);
    }
286084
public function getPagesNumber() {
		if ($this->_entirePagesNumber === null) {
			$this->_entirePagesNumbe = (int) ceil($this->getAdapter()->count() / $this->_itemsPerPage);
		}
		
		return $this->_entirePagesNumbe;
	}
730445
public function tagsCount()
    {
        if ( !is_array( $this->IDArray ) || empty( $this->IDArray ) )
            return 0;

        return eZTagsObject::fetchListCount( array( 'id' => array( $this->IDArray ) ) );
    }
1330597
public function getCount () {
        if ($this->_count === null) {
            $this->_count = $this->getConnection ()->getSlave ()->scard ($this->name);
        }
        return $this->_count;
    }
1073286
public function getCount () {
        if ($this->_count === null) {
            $this->_count = $this->getConnection ()->getSlave ()->zcard ($this->name);
        }
        return $this->_count;
    }
1260262
public function getArticleList()
    {
        if ($this->_aArticleList === null) {
            if ($category = $this->getActiveCategory()) {
                $articleList = $this->_loadArticles($category);
                if (count($articleList)) {
                    $this->_aArticleList = $articleList;
                }
            }
        }

        return $this->_aArticleList;
    }
1126153
public function getItemsCount()
    {
        $itemsCount = 0;

        foreach ($this->_aBasketContents as $oBasketItem) {
            $itemsCount += $oBasketItem->getAmount();
        }

        return $itemsCount;
    }
1232044
public static function getWebsitesCountToDisplay()
    {
        $count = max(Config::getInstance()->General['site_selector_max_sites'],
            Config::getInstance()->General['autocomplete_min_sites']);
        return (int)$count;
    }
437756
public function getCount()
    {
        if ($this->_count !== null) {
            return $this->_count;
        }

        while ($this->_hasMore) {
            $this->fetchOutstanding();
        }

        return $this->_length;
    }