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 baseball player jumps towards a base before the other player catches the ball'. How many words end with the letter 'e' in the sentence.

SOLUTION: 4

PROBLEM: Sentence: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a group of children stand on a tennis court'. How many words end with the letter 'p' in the sentence.

SOLUTION:
1

