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

Example Input: Sentence: 'a lamb front diagonal view laying in a shady area of sunny grass with front half of a sheep looking at camera on right side of photo'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

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

Example Input: Sentence: 'a building with a clock on top and a sign that says investments'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
3

