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 black and white cat is playing with a computer keyboard'. How many words end with the letter 'd' in the sentence.

Answer: 2


Question: Sentence: 'this is a man taking a picture with a girl'. How many words end with the letter 'l' in the sentence.

Answer: 1


Question: Sentence: 'a plate has some red peppers and rice on it'. How many words end with the letter 'd' in the sentence.

Answer:
2