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 man in blue shirt laying on sidewalk by a fire hydrant'. How many words end with the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a herd of elephants grazing near a body of water'. How many words end with the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'some vegetables sit in a pile with a pile of eggs'. How many words end with the letter 't' in the sentence.

A:
1
****