Task: Program Execution
Input (English): Sentence: 'a herd of goats look at a dog through a fence'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 3