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

[Q]: Sentence: 'a plate of ham and rice and a fork on a red tray'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a picture of a medical exam room with a bed and chair'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a spaniel type dog being petted next to a bookshelf'. Count the occurrences of the word 'a' in the given sentence.
[A]:
2