Calculating average events per minute per hour