Task: Program Execution
Input (English): Sentence: 'a crowd is watching a dog catching a frisbee in a pen'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 4