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 road sign on a corner in the snow'. Count the occurrences of the word 'in' in the given sentence.
[A]: 1


[Q]: Sentence: 'a bathroom with towels hanging next to a window'. Count the occurrences of the word 'a' in the given sentence.
[A]:
2