Added functionality for hourly stats in Counter.