func (cases *caseHistory) countInScope(upper, lower time.Time) float64 {
	start := TimeAsString(upper)
	end := TimeAsString(lower)

	return cases.Dates[end] - cases.Dates[start]
}
// Count all the cases within a scope in time.
Count all the cases within a scope in time.
// Count all the cases within a scope in time .
func (cases *caseHistory) countInScope(upper, lower time.Time) float64 {
	start := TimeAsString(upper)
	end := TimeAsString(lower)
	return cases.Dates[end] - cases.Dates[start]
}
func ( cases * caseHistory ) countInScope ( upper , lower time . Time ) float64 { start := TimeAsString ( upper ) end := TimeAsString ( lower ) return cases . Dates [ end ] - cases . Dates [ start ] }
Count all the cases within a scope in time.
Count all the cases within a scope in time .