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 bird sitting on the branch of a tree near leaves'. How many words end with the letter 'e' in the sentence.
2

Sentence: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.
1

Sentence: 'hot dogs in buns smothered with corn salsa and cheese'. How many words end with the letter 's' in the sentence.

2