Remove events: Forgot to update total events

Since we use a separate table to count the total number of events,
 we need to update it as well.