Data source: http://rosettacode.org/wiki/Rate_counter
