Task: Program Execution
Input (English): Sentence: 'an open door and a cat inside a house'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2