CountEvents will now be able to print out and write the event counts