Aggregation of events over time