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.

Sentence: 'many sheep are out in the green grass'. How many words end with the letter 'n' in the sentence.
2

Sentence: 'a bird sitting on the branch of a tree near leaves'. How many words end with the letter 'e' in the sentence.
2

Sentence: 'a man standing on a ledge and feeding a giraffe while a female is taking pictures'. How many words end with the letter 'n' in the sentence.

2