Write a class to add and count events received in the last X seconds, and then determine if all words from a sentence are present in a paragraph.
Use nondecreasing timestamps and treat the window as inclusive: [timestamp - X, timestamp]. The grading function accepts event operations plus a sentence and paragraph, returning count results and a Boolean word-coverage result. Words are case-insensitive alphanumeric tokens, and repeated sentence words only need to appear once.
def analyze_events_and_words(operations, window_seconds, sentence, paragraph):