TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a bus waits by a curb next to some trees'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a baseball pitcher throwing a baseball during a game'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a flower pot that is sitting on top of a chair'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2