Task: Program Execution
Input (English): Sentence: 'this is a dog sitting on a reclining chary with a pillow'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 3