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 wooden fence sitting in a field with a cow'. How many words end with the letter 'a' in the sentence.

A: 3
****
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: 'a man stands while having a wii remote in hand'. How many words end with the letter 'a' in the sentence.

A:
2
****