aggregate_event_counts