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 young man in a beauty shop getting his hair dried'. How many words end with the letter 'n' in the sentence.
answer:
2


question:
Sentence: 'the man is swinging the tennis racket at the ball'. How many words end with the letter 'e' in the sentence.
answer:
3


question:
Sentence: 'a small twin bed sitting underneath a poster on a wall'. How many words end with the letter 'g' in the sentence.
answer:

1