count(params) {
    const key = 'count';
    const url = this.buildUrl(key, params);
    return this.shopify.request(url, 'GET', key);
  }
Counts the number of records.

@param {Object} [params] Query parameters
@return {Promise} Promise that resolves with the result
@public