Task: Program Execution
Input (English): Sentence: 'some brown white black horses dirt a rock and a goat'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2