add total number events to TNT