Model an event counter that is used in a weather station to count the number of times that a temperature rises above some threshold.

Use the variable names temp and count.
