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 yellow train traveling towards a train station'. How many words end with the letter 'a' in the sentence.
Example Output: 2

Example Input: Sentence: 'a breakfast sandwich with a bite taken out is sitting on a table'. How many words end with the letter 'e' in the sentence.
Example Output: 2

Example Input: Sentence: 'a man sitting on top of a picnic table with a dog'. How many words end with the letter 'p' in the sentence.
Example Output:
1