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

Example 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.
Example Output: 4

Example Input: Sentence: 'a flat screen tv sitting in the corner of a living room next to a pumpkin'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a blue train traveling past a set of traffic lights'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2