Task: Program Execution
Input (English): Sentence: 'a plate of ham and rice and a fork on a red tray'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 3