In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'there is a pizza with onions mushrooms and peppers'. Count the occurrences of the word 'mushrooms' in the given sentence.