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: 'a black dog and a brown and black dog with a jacket'. How many words end with the letter 'd' in the sentence.
2

Sentence: 'a man standing on the side of water with rough waves'. How many words end with the letter 'r' in the sentence.
1

Sentence: 'two men sharing an intimate kiss inside of a building'. How many words end with the letter 'n' in the sentence.

2

