New algo for counting events in the last 60 minutes works, not yet used by graph in UI tho.