count_rapidity function

Calculates a count of the time beneath the baseline.