TASK DEFINITION: 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.
PROBLEM: Sentence: 'a man riding a skateboard on top of a metal rail'. How many words end with the letter 'f' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a person walking on a street with a suit'. How many words end with the letter 't' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a refrigerator in a room with tiled floors'. How many words end with the letter 'd' in the sentence.

SOLUTION:
1