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 gentleman playing ball with his daughter in the street'. How many words end with the letter 'a' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'two personal size pizza have greens for toppings'. How many words end with the letter 'a' in the sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a banana pepper carrot and an apple on a table'. How many words end with the letter 'd' in the sentence.

SOLUTION:
1