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.

Sentence: 'a black and white cat is playing with a computer keyboard'. How many words end with the letter 'd' in the sentence.
2

Sentence: 'a man swings his racket and hits a tennis ball'. How many words end with the letter 'n' in the sentence.
1

Sentence: 'a basket weave design fireplace with a mantle next to a flat screen tv'. How many words end with the letter 'h' in the sentence.

1