Task: Program Execution
Input (English): Sentence: 'a pizza is on a cooling rack on a counter'. Count the occurrences of the word 'on' in the given sentence.
Output (English): 2