Create a new instance of the InstanceTimeCounter class
Maximum number of instances to track
Get the total number of instances that have been recorded
Check if the time between the last N events is less than the provided threshold
Minimum time that must have passed when the last N events occurred
Add a new time measurement for an instance of an event
Class that tracks how long it has taken the last N events to occur