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

Q: Sentence: 'a train is moving on a railroad track through a city'. Count the occurrences of the word 'a' in the given sentence.

A: 3
****
Q: Sentence: 'a bucket is sitting on the floor of a bathroom'. Count the occurrences of the word 'a' in the given sentence.

A: 2
****
Q: Sentence: 'a red fire hydrant near a playground pedestrian and parked car'. Count the occurrences of the word 'a' in the given sentence.

A:
2
****