In this task, you need to count the occurrences of the given word in the given sentence.
One example: Sentence: 'the brown cat sits perched on atop of the bed peering forward'. Count the occurrences of the word 'the' in the given sentence.
Solution is here: 2
Explanation: The word 'the' appears two times in the given sentences. So, the answer is 2.

Now, solve this: Sentence: 'a bench on a deck in front of a window'. Count the occurrences of the word 'a' in the given sentence.
Solution:
3