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

[Q]: Sentence: 'a building has people in front of it on the sidewalk'. Count the occurrences of the word 'building' in the given sentence.
[A]: 1


[Q]: Sentence: 'a small child laying in a bed next to a shelf'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'two school buses parked next to each other in a lot'. Count the occurrences of the word 'other' in the given sentence.
[A]:
1