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.

[Q]: Sentence: 'a old picture of workers building the railroad'. How many words end with the letter 'd' in the sentence.
[A]: 2


[Q]: Sentence: 'young man in catchers gear playing baseball on a sunny day'. How many words end with the letter 'y' in the sentence.
[A]: 2


[Q]: Sentence: 'a big passenger plane right after takeoff with its landing gear still out'. How many words end with the letter 'g' in the sentence.
[A]:
2