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 group of people sitting around a wooden table with food and beer'. How many words end with the letter 'a' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'an over head view of two people walking one is carrying a surf board'. How many words end with the letter 'd' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a young rider and their mount engaged in a competition'. How many words end with the letter 'd' in the sentence.

SOLUTION:
2