In this task, you need to count the occurrences of the given word in the given sentence.

Input: Consider Input: Sentence: 'a orange cat sleeping on top of a blanket'. Count the occurrences of the word 'blanket' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a plate of ham and rice and a fork on a red tray'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a living room kitchen and stairway to a lower level'. Count the occurrences of the word 'a' in the given sentence.
Output: 2