Task: Program Execution
Input (English): Sentence: 'a herd of cows grazing along a river'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2