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: 'the side of a chartered bus painted with a red horse'. How many words end with the letter 'a' in the sentence.
2

Sentence: 'outdoor market with tables and red umbrellas on rainy day'. How many words end with the letter 'd' in the sentence.
2

Sentence: 'some people on a stage a chair and a red heart and lights'. How many words end with the letter 'r' in the sentence.

1