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

@param array $filter
@return int
The number of categories in the collection .