Add total field to BucketedDistribution