Detailed Instructions: In this task, you need to count the occurrences of the given word in the given sentence.
Problem:Sentence: 'a girl on a platform next to a passenger train'. Count the occurrences of the word 'a' in the given sentence.
Solution:
3