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

Input: Consider Input: Sentence: 'a man drinking from a glass standing next to a wine glass'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a view of a sandwich with a side salad'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a red and white stop sign and a black and white sign and a building'. Count the occurrences of the word 'and' in the given sentence.
Output: 4