source/Application/Model/User.php
public function getWishListArtCnt()
    {
        if ($this->_iCntWishListArticles === null) {
            $this->_iCntWishListArticles = false;
            if ($this->getId()) {
                $this->_iCntWishListArticles = $this->getBasket('wishlist')->getItemCount();
            }
        }

        return $this->_iCntWishListArticles;
    }
public function getWishListArtCnt()
    {
        if ($this->_iCntWishListArticles === null) {
            $this->_iCntWishListArticles = false;
            if ($this->getId()) {
                $this->_iCntWishListArticles = $this->getBasket('wishlist')->getItemCount();
            }
        }

        return $this->_iCntWishListArticles;
    }
public function getWishListArtCnt ( ) { if ( $ this -> _iCntWishListArticles === null ) { $ this -> _iCntWishListArticles = false ; if ( $ this -> getId ( ) ) { $ this -> _iCntWishListArticles = $ this -> getBasket ( 'wishlist' ) -> getItemCount ( ) ; } } return $ this -> _iCntWishListArticles ; }
Calculating user wishlist item count

@return int
Calculating user wishlist item count