How is the number of occurences of an event dtermined?​