docs: function summarize(value, counts) {
    const min = counts.min;
    const max = counts.max;
    const num = counts.values.length;
    if (value < min) {
      // do nothing
    } else if (value >= max) {
      counts.values[num - 1] += 1;
    } else {
      const index = Math.floor((value - min) / counts.delta);
      counts.values[index] += 1;
    }
  }