For interval stats implementation, we're using sub-intervals: within each sub-interval, we store mean, count, min, max, bucket counts and sum of squared deviations, and when we need to get stats for a ...