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: 'two sheep on a hill with green grass', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a bunch of people walking in a parade of some sort', Sentence2: 'a red bus drives through the icy streets of an old city'. Is the frequency of the word 'red' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a driver holds the wheel of the vehicle with one hand while text messaging on a mobile phone with the other', Sentence2: 'a gray and white bird standing in the sand'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No