Many data analysis pipelines write out histogram protocol buffers with
thousands of buckets so as to be applicable in a wide range of
contexts. This function provides a way to transform the histogram into
approximations of the quantile, median, mean, etc of the underlying
distribution. Count(x) returns the number of
observations in the histogram.