Task: Program Execution
Input (English): Sentence: 'a person walking on a dirt path with a horse beside them and the horse is carrying a pack on its back'. How many words end with the letter 's' in the sentence.
Output (English): 2