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

Example Input: Sentence: 'a cat sitting near a window looking at a squirrel eating'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'there are many people that are riding a elephant'. Count the occurrences of the word 'are' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a table top with some laptops on it'. Count the occurrences of the word 'with' in the given sentence.
Example Output:
1