public function count($urlParams = array())
    {
        if (!$this->countEnabled) {
            throw new SdkException("Count is not available for " . $this->getResourceName());
        }

        $url = $this->generateUrl($urlParams, 'count');

        return $this->get(array(), $url, 'count');
    }
public function count($urlParams = array())
    {
        if (!$this->countEnabled) {
            throw new SdkException("Count is not available for " . $this->getResourceName());
        }

        $url = $this->generateUrl($urlParams, 'count');

        return $this->get(array(), $url, 'count');
    }
public function count ( $ urlParams = array ( ) ) { if ( ! $ this -> countEnabled ) { throw new SdkException ( "Count is not available for " . $ this -> getResourceName ( ) ) ; } $ url = $ this -> generateUrl ( $ urlParams , 'count' ) ; return $ this -> get ( array ( ) , $ url , 'count' ) ; }
Get count for the number of resources available

@param array $urlParams Check Shopify API reference of the specific resource for the list of URL parameters

@return integer
Get count for the number of resources available