Task: Program Execution
Input (English): Sentence: 'a dog plays with its toys on the bed'. How many words end with the letter 's' in the sentence.
Output (English): 3