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 small bird perched on a branch in a tree'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a zebra looking forward with his butt in the air'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION:
1