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: 'two trains pass over the tracks over a river'. How many words end with the letter 'o' in the sentence.
1

Sentence: 'a catting sitting on top of a laptop computer'. How many words end with the letter 'p' in the sentence.
2

Sentence: 'a giraffe laying on the ground near a fence'. How many words end with the letter 'n' in the sentence.

1