instruction:
In this task, you need to count the occurrences of the given word in the given sentence.
question:
Sentence: 'a bedroom with a bed next to a closet'. Count the occurrences of the word 'a' in the given sentence.
answer:
3

question:
Sentence: 'close up of a dog walking on a beach near a body of water'. Count the occurrences of the word 'of' in the given sentence.
answer:
2

question:
Sentence: 'a woman with a racquet swinging at a ball'. Count the occurrences of the word 'racquet' in the given sentence.
answer:
1