How do you calculate the frequency?

Count the number of events occurring during a time period. Then frequency = number of events/length of time period.