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

Input: Consider Input: Sentence: 'a young boy in traditional clothing holding a fan and a cell phone'. Count the occurrences of the word 'boy' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a couple of elephants out in the field having a snack'. Count the occurrences of the word 'a' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a man wears headphones so he can hear interpretation during a conference'. Count the occurrences of the word 'a' in the given sentence.
Output: 2