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

[Q]: Sentence: 'a sidewalk with trimmed hedges and signage'. Count the occurrences of the word 'hedges' in the given sentence.
[A]: 1


[Q]: Sentence: 'a bedroom is shown with a rug on the floor'. Count the occurrences of the word 'on' in the given sentence.
[A]: 1


[Q]: Sentence: 'a man riding on a horse with people watching by the side of the road'. Count the occurrences of the word 'a' in the given sentence.
[A]:
2