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

Input: Consider Input: Sentence: 'a white dog and a person with an umbrella and red jacket'. Count the occurrences of the word 'and' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a man in a pitching pose with a glove near another man with a glove'. Count the occurrences of the word 'a' in the given sentence.

Output: 4

Input: Consider Input: Sentence: 'a beautiful woman laying under a ladder in a dress'. Count the occurrences of the word 'a' in the given sentence.
Output: 3