In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a microwave is sitting on a wooden shelf'. Count the occurrences of the word 'shelf' in the given sentence.