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 black dog and a brown and black dog with a jacket'. How many words end with the letter 'd' in the sentence.
answer:
2


question:
Sentence: 'a scarecrow is in the garden with no head'. How many words end with the letter 'a' in the sentence.
answer:
1


question:
Sentence: 'several people are shoveling snow near a shack'. How many words end with the letter 'r' in the sentence.
answer:

1