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

Example Input: Sentence: 'a female in a blue shirt a cat and a plate'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 4

Example Input: Sentence: 'the person is taking a picture in the mirror while riding in the car'. Count the occurrences of the word 'the' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a man and his dog are watching each other over a plate of food'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2