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 laptop computer that is on a desk'. How many words end with the letter 'a' in the sentence.
2

Sentence: 'people outside of a cable fence looking at an elephant'. How many words end with the letter 'f' in the sentence.
1

Sentence: 'two soldiers riding horses through the beach water'. How many words end with the letter 'h' in the sentence.

2