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 room with colorful blankets and several papers strewn across the floor'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'three males a camera and two laptops on a table'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2