Task: Program Execution
Input (English): Sentence: 'a herd of cattle grazing on a field of dry grass'. Count the occurrences of the word 'of' in the given sentence.
Output (English): 2