In this task, you need to count the number of words in a sentence that end with the given letter. Answer with numbers and not words.
--------
Question: Sentence: 'the elderly person wearing a cap is smiling'. How many words end with the letter 's' in the sentence.

Answer: 1


Question: Sentence: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.

Answer: 1


Question: Sentence: 'a dog is laying on a blanket by a toy'. How many words end with the letter 'y' in the sentence.

Answer:
2