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: 'a person playing soccer on a field with a ball'. How many words end with the letter 'n' in the sentence.
Example Output: 2

Example Input: Sentence: 'this is a depiction of 34th avenue where the corner shows  all of the sights'. How many words end with the letter 's' in the sentence.
Example Output: 4

Example Input: Sentence: 'a vintage photograph of a war plane flying'. How many words end with the letter 'r' in the sentence.
Example Output:
1