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.

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

A: 3
****
Q: Sentence: 'two trains pass over the tracks over a river'. How many words end with the letter 'o' in the sentence.

A: 1
****
Q: Sentence: 'a herd of sheep grazing in a pasture'. How many words end with the letter 'p' in the sentence.

A:
1
****