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: 'an asian man is sitting in a cubicle with a near a computer near other people working in cubicles'. How many words end with the letter 'h' in the sentence.
1

Sentence: 'a kitchen with a table dishwasher sink and microwave'. How many words end with the letter 'h' in the sentence.
1

Sentence: 'two people on a red and black motorcycle and people walking and buildings'. How many words end with the letter 'd' in the sentence.

4