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

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 man with glasses a collar shirt and a tie on'. Count the occurrences of the word 'a' in the given sentence.

Output: 3


Input: Consider Input: Sentence: 'a woman with a large brown purse walks down a path while two people sit on a bench'. Count the occurrences of the word 'a' in the given sentence.


Output: 4