def event_counts(events):
    # Count how many times each label occurs.
    pass
