Task: Program Execution
Input (English): Sentence: 'a stack of items that starts with a book and ends with a battery'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 3