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: 'group of old women sitting at a restaurant dinner table together'. Count the occurrences of the word 'old' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a group of four surfboards laying on top of a beach'. Count the occurrences of the word 'top' in the given sentence.

SOLUTION:
1