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 city street with traffic and people walking'. How many words end with the letter 'a' in the sentence.
1

Sentence: 'a man and woman on a horse carriage riding down the street'. How many words end with the letter 'n' in the sentence.
4

Sentence: 'a small pizza sitting on to of a counter'. How many words end with the letter 'a' in the sentence.

3