code: function getTotalCount(response) {
    let range = response.headers['content-range'];
    let index = range.indexOf('/');
    let totalCount = range.substring(index + 1);
    return parseInt(totalCount, 10);
  }
docs: /*
  Parses Content-range header and returns response count