velodrome/transform/plugins/bundle.go
func (b BundledStates) Total(t time.Time) (count int, sum int64) {
	for _, age := range b.ages(t) {
		count++
		sum += int64(age / time.Minute)
	}
	return
}
func (b BundledStates) Total(t time.Time) (count int, sum int64) {
	for _, age := range b.ages(t) {
		count++
		sum += int64(age / time.Minute)
	}
	return
}
// Total counts number of active state, and total age (in minutes, to compute average)