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

Input: Consider Input: Sentence: 'a dog under a dog bed on a white background'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'hotdogs and buns grilling on a charcoal grill'. Count the occurrences of the word 'grilling' in the given sentence.

Output: 1


Input: Consider Input: Sentence: 'a room with a wooden floor drapes and pictures on the wall'. Count the occurrences of the word 'a' in the given sentence.


Output: 2