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: 'two small white motor boats sitting still in a lake'. Count the occurrences of the word 'boats' in the given sentence.

A: 1
****
Q: Sentence: 'a man eating a sandwich with a doge looking at him'. Count the occurrences of the word 'a' in the given sentence.

A:
3
****