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 close up of a cow behind a fence'. How many words end with the letter 'a' in the sentence.

A: 3
****
Q: Sentence: 'a group of horses standing and laying in a grassy field'. How many words end with the letter 'f' in the sentence.

A: 1
****
Q: Sentence: 'a woman pets a cow by reaching over a wall of rocks'. How many words end with the letter 'y' in the sentence.

A:
1
****
