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

Q: Sentence: 'there is a pizza with onions mushrooms and peppers'. Count the occurrences of the word 'mushrooms' in the given sentence.

A: 1
****
Q: Sentence: 'a baseball pitcher throwing a baseball during a game'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'a man walks on a beach carrying a surf board over his head'. Count the occurrences of the word 'a' in the given sentence.

A:
3
****