added total number of events to run

adding total number of events to run