Task: Program Execution
Input (English): Sentence: 'a small animal cage sitting on a table while a dog lays on the floor and a person sits on the sofa'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 4