src/Bigcommerce/Api/Client.php
public static function getOrderProductsCount($orderID, $filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCount('/orders/' . $orderID . '/products/count' . $filter->toQuery());
    }
public static function getOrderProductsCount($orderID, $filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCount('/orders/' . $orderID . '/products/count' . $filter->toQuery());
    }
public static function getOrderProductsCount ( $ orderID , $ filter = array ( ) ) { $ filter = Filter :: create ( $ filter ) ; return self :: getCount ( '/orders/' . $ orderID . '/products/count' . $ filter -> toQuery ( ) ) ; }
The total number of order products in the collection.

@param $orderID
@param array $filter
@return mixed
The total number of order products in the collection .