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

Input: Consider Input: Sentence: 'a small child laying in a bed next to a shelf'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'close up of a dog walking on a beach near a body of water'. Count the occurrences of the word 'of' in the given sentence.

Output: 2


Input: Consider Input: Sentence: 'two pictures are hanging on the wall of the bathroom'. Count the occurrences of the word 'the' in the given sentence.


Output: 2