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

Input: Consider Input: Sentence: 'a woman laying in a bed with messy hair'. Count the occurrences of the word 'a' in the given sentence.

Output: 2


Input: Consider Input: Sentence: 'a very large cow that is in a field'. Count the occurrences of the word 'large' in the given sentence.

Output: 1


Input: Consider Input: Sentence: 'a person sitting in a boat with a dalmation'. Count the occurrences of the word 'a' in the given sentence.


Output: 3