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

Example Input: Sentence: 'giraffe reaching up to eat the little buds on the tree'. Count the occurrences of the word 'the' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a table with a tin of hotdogs and a plate with bun'. Count the occurrences of the word 'with' in the given sentence.
Example Output: 2

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