source/Application/Model/Basket.php
public function getItemsCount()
    {
        $itemsCount = 0;

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

        return $itemsCount;
    }
public function getItemsCount()
    {
        $itemsCount = 0;

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

        return $itemsCount;
    }
public function getItemsCount ( ) { $ itemsCount = 0 ; foreach ( $ this -> _aBasketContents as $ oBasketItem ) { $ itemsCount += $ oBasketItem -> getAmount ( ) ; } return $ itemsCount ; }
Returns count of items stored in basket.

@return double
Returns count of items stored in basket .