TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a woman walking a large brown dog next to a tennis ball'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a bowl of soup on a white table in front of vegetables'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a building with a gold steeple under a cloudy sky'. Count the occurrences of the word 'building' in the given sentence.

SOLUTION:
1