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: 'the person is skiing on the snow covered slopes'. How many words end with the letter 'e' in the sentence.

SOLUTION: 2

PROBLEM: Sentence: 'two giraffes stand near a tree one giraffe has its face up to the trunk'. How many words end with the letter 's' in the sentence.

SOLUTION: 3

PROBLEM: Sentence: 'baseball players watching whats going on in the field'. How many words end with the letter 's' in the sentence.

SOLUTION:
2