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: 'a person is typing on a laptop computer'. How many words end with the letter 'a' in the sentence.

Answer: 2


Question: Sentence: 'a traffic light with a couple of green street signs mounted to its sides'. How many words end with the letter 's' in the sentence.

Answer: 3


Question: Sentence: 'an elephant is walking through a grassy swamp'. How many words end with the letter 'p' in the sentence.

Answer:
1