Task: Program Execution
Input (English): Sentence: 'a herd of elephants standing inside of an enclosure'. Count the occurrences of the word 'of' in the given sentence.
Output (English): 2