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

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

Example Input: Sentence: 'a man and a woman in a spare living room space standing far apart from each other'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a herd of elephants walking through swampy marsh lands'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
1