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.

Sentence: 'three brown fourlegged animals with horns grazing in the pasture'. How many words end with the letter 'e' in the sentence.
3

Sentence: 'a group of orange traffic cones sitting on top of a table'. How many words end with the letter 'c' in the sentence.
1

Sentence: 'two white swans are floating on the water'. How many words end with the letter 'g' in the sentence.

1