Task: Program Execution
Input (English): Sentence: 'a purple sofa and loveseat  a gray chair and a man sitting in the corner at a desk'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 4