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

[EX Q]: Sentence: 'a small bird perched on a branch in a tree'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'a kitchen sink with a window behind it'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 2

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