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

[Q]: Sentence: 'a couple of elephants out in the field having a snack'. Count the occurrences of the word 'a' in the given sentence.
[A]: 2


[Q]: Sentence: 'a man with glasses a collar shirt and a tie on'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a man on a snowboard who is performing a trick'. Count the occurrences of the word 'a' in the given sentence.
[A]:
3