In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man with a neck tie is wearing a motorcycle helmet'. Count the occurrences of the word 'wearing' in the given sentence.