keep track of total events processed