TASK DEFINITION: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
PROBLEM: Sentence1: 'these donuts have a lot of frosting on them', Sentence2: 'a man on stage while holding a tennis racket'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a bench near a lake and grass', Sentence2: 'a close up of a television remote being pointed at a tv'. Is the frequency of the word 'television' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a bathroom is in terrible shape and is in need of a deep cleaning', Sentence2: 'a little girl that is standing in the sand with a kite'. Is the frequency of the word 'need' in two sentences equal?

SOLUTION:
No