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

Input: Consider Input: Sentence: 'a plate of salad on a table containing tuna spinach and carrot'. Count the occurrences of the word 'a' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a man jumping in a grass field surrounded by cows'. Count the occurrences of the word 'by' in the given sentence.
Output: 1