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 man riding a skateboard while having a mohawk'. How many words end with the letter 'k' in the sentence.
1

Sentence: 'a black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.
1

Sentence: 'two giraffes in dry vegetation walking in a field below a mountain'. How many words end with the letter 'a' in the sentence.

2