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 man attempting to instruct a small child to use a mechanical toothbrush'. How many words end with the letter 'o' in the sentence.
Example Output: 2

Example Input: Sentence: 'a victorian bedroom tended to be stiff and uncomfortable'. How many words end with the letter 'd' in the sentence.
Example Output: 2

Example Input: Sentence: 'a couple in the loving room each playing on their own laptops'. How many words end with the letter 'g' in the sentence.
Example Output:
2