TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a police officer on a motorcycle with a sidecar'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a man standing on some rocks holding a surfboard'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a fourth of a cake sitting on top of a cake plate'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3