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

Input: Consider Input: Sentence: 'girl standing in front of an elephant in a dirt lot'. Count the occurrences of the word 'dirt' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a small train engine pulling a freight car'. Count the occurrences of the word 'a' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a picture of a tower clock in the middle of the city on top of a building'. Count the occurrences of the word 'a' in the given sentence.
Output: 3