TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a collection of furniture is in a living room'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a bedroom is shown with a rug on the floor'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a reflection of a bear sitting on top of a camera'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3