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

Input: Consider Input: Sentence: 'a person wearing a suit and tie next to a woman in a dress'. Count the occurrences of the word 'tie' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'black and white photo of a person with an umbrella on a dock'. Count the occurrences of the word 'a' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'many people wearing ski accessories while on the ski slope'. Count the occurrences of the word 'ski' in the given sentence.
Output: 2