I want to implement a window that has both a count limit and a time limit. I found this StackOverflow thread showing an implementation to do so.
In my code, I create