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

[Q]: Sentence: 'a tennis player getting ready to hit a ball on a tennis court'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a man puts his head on his cat sitting on a suitcase'. Count the occurrences of the word 'a' in the given sentence.
[A]: 2


[Q]: Sentence: 'a black cat standing on a shelf in an open refrigerator'. Count the occurrences of the word 'an' in the given sentence.
[A]:
1