Task: Program Execution
Input (English): Sentence: 'a room that has three sofa chairs one of which has a painting on it'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2