Task: Program Execution
Input (English): Sentence: 'an old time image of a bride and groom with a cake'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2