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

Sentence: 'a tall plant protrudes from a glass vase'. Count the occurrences of the word 'a' in the given sentence.
2

Sentence: 'a cake with chocolate frosting and a cake with white frosting are each in an open box'. Count the occurrences of the word 'frosting' in the given sentence.
2

Sentence: 'a girl testing out the water in a shower with a man taking a pic in the mirror'. Count the occurrences of the word 'a' in the given sentence.

4