TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a building with a gold steeple under a cloudy sky'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a group of three toilets with a person standing in front of the middle one'. Count the occurrences of the word 'toilets' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a brown bear sitting in an area of trees'. Count the occurrences of the word 'trees' in the given sentence.

SOLUTION:
1