Task: Program Execution
Input (English): Sentence: 'the bird is perched on a limb on a tree'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2