Task: Program Execution
Input (English): Sentence: 'a man tossing a frisbee to another man to catch'. Count the occurrences of the word 'to' in the given sentence.
Output (English): 2