TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a red yellow and white firetruck and some trees smoke and fire'. Count the occurrences of the word 'and' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a group of guys playing a game of frisbee'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a woman with a racquet swinging at a ball'. Count the occurrences of the word 'racquet' in the given sentence.

SOLUTION:
1