instruction:
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.
question:
Sentence: 'a piece of cake on a green plate with a portion on a fork'. How many words end with the letter 'a' in the sentence.
answer:
4


question:
Sentence: 'a kitchen counter with ingredients spread over it'. How many words end with the letter 'r' in the sentence.
answer:
2


question:
Sentence: 'a pizza sitting on top of a cardboard box'. How many words end with the letter 'a' in the sentence.
answer:

3