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

[Q]: Sentence: 'a man on a motorcycle riding by an old rundown town and an animal on the side of the road'. Count the occurrences of the word 'on' in the given sentence.
[A]: 2


[Q]: Sentence: 'a truck and a part of a disabled plane'. Count the occurrences of the word 'a' in the given sentence.
[A]: 3


[Q]: Sentence: 'a cop sitting in a cop car in front of a building'. Count the occurrences of the word 'a' in the given sentence.
[A]:
3