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

Sentence: 'a man in a green shirt has a baseball bat'. Count the occurrences of the word 'in' in the given sentence.
1

Sentence: 'a orange cat sleeping on top of a blanket'. Count the occurrences of the word 'blanket' in the given sentence.
1

Sentence: 'a man pulling a three wheeled cart piled high with bananas on a crowded street'. Count the occurrences of the word 'a' in the given sentence.

3