Task: Program Execution
Input (English): Sentence: 'a black and white cat sits on a step in front of a red gate and two walls that have flowers growing on them'. Count the occurrences of the word 'on' in the given sentence.
Output (English): 2