Task: Program Execution
Input (English): Sentence: 'a trolley car is on a track in the middle of the road'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2