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

Sentence: 'a small bird on a tree branch with a fruit'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a comical frowning faced sculpture sits atop a surfboard next to a frowning man'. Count the occurrences of the word 'frowning' in the given sentence.
2

Sentence: 'a man wearing a white helmet is riding a red motorcycle'. Count the occurrences of the word 'a' in the given sentence.

3