Counts events for an event emitter and prints them to the console