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.

Example Input: Sentence: 'looking out from the ruins of a building to dogs in a courtyard'. How many words end with the letter 'm' in the sentence.
Example Output: 1

Example Input: Sentence: 'a nicely decorated living room with a lot of pictures on the wall'. How many words end with the letter 'l' in the sentence.
Example Output: 1

Example Input: Sentence: 'a group of people riding a wave on top of  surfboards'. How many words end with the letter 'f' in the sentence.
Example Output:
2