Predict the number of times an event will occur