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 collection of pictures showing the before and after of a bathroom remodel'. How many words end with the letter 'n' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a black and white cat and a silver car'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'the desk is covered in cords a desktop and a laptop on a homemade docking station'. How many words end with the letter 'p' in the sentence.

SOLUTION:
2