TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a flat screen tv sitting in the corner of a living room next to a pumpkin'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

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: 'the view of a bathroom vanity sink and tub'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
1