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: 'a player on a baseball field getting ready to bat', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a girl wearing a hat and dress while holding a purse that looks like a clock', Sentence2: 'a train going through town via railroad'. Is the frequency of the word 'railroad' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two men are singing in different colored striped costumes', Sentence2: 'the black and white cows are running in the grass'. Is the frequency of the word 'are' in two sentences equal?

SOLUTION:
Yes