TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a boy is playing video games in a dated living room'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a girl standing on a sidewalk holding an umbrella'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a dog is sitting in a field of grass waiting for someone to occupy an empty chair'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2