cumulativeFrequency

Returns the cumulative frequency up to an including the string

Return

the cumulative frequency

Parameters

string

the string for the desired frequency