You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you need to count the occurrences of the given word in the given sentence.

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: 2
Why? The word 'the' appears two times in the given sentences. So, the answer is 2.

New input: Sentence: 'a picture of a toilet and toilet paper in a bathroom'. Count the occurrences of the word 'a' in the given sentence.
Solution:
3