Task: Program Execution
Input (English): Sentence: 'the officer directs traffic as the water reaches heights'. How many words end with the letter 's' in the sentence.
Output (English): 4