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: 'a basket with a sandwich and some fries in it'. How many words end with the letter 't' in the sentence.
2

Sentence: 'two people fly a kite on the beach'. How many words end with the letter 'e' in the sentence.
3

Sentence: 'girl looking at magazine sitting next to woman with magazine open'. How many words end with the letter 'l' in the sentence.

1