Task: Program Execution
Input (English): Sentence: 'a yellow train pulled into a train station next to a red train'. Count the occurrences of the word 'train' in the given sentence.
Output (English): 3