instruction:
In this task, you need to count the occurrences of the given word in the given sentence.
question:
Sentence: 'the soldier on horseback statue stands guard over the citys residences and buildings'. Count the occurrences of the word 'the' in the given sentence.
answer:
2


question:
Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.
answer:
3


question:
Sentence: 'a baseball player is swinging a bat at a game'. Count the occurrences of the word 'a' in the given sentence.
answer:

3