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

Sentence: 'a man in a yellow sweater standing in the middle of a room'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a man and boy blow out a candle on a birthday cake'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a group of people riding on a boat in a small docking canal'. Count the occurrences of the word 'a' in the given sentence.

3