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

[EX Q]: Sentence: 'a woman is holding a tennis racket on a court'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 3

[EX Q]: Sentence: 'a person in pajamas reading on a bed'. Count the occurrences of the word 'a' in the given sentence.
[EX A]: 2

[EX Q]: Sentence: 'a brown horse and a  small tan horse on a field'. Count the occurrences of the word 'a' in the given sentence.
[EX A]:
3