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 public bathroom with four toilet stalls and four urinals on the wall'. How many words end with the letter 's' in the sentence.
Example Output: 2

Example Input: Sentence: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.
Example Output: 1

Example Input: Sentence: 'a woman is working on a laptop computer in bed'. How many words end with the letter 'a' in the sentence.
Example Output:
2