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 beach with many people and colorful tents on it'. How many words end with the letter 'd' in the sentence.
[A]: 1


[Q]: Sentence: 'an elephant walks on a low concrete wall'. How many words end with the letter 't' in the sentence.
[A]: 1


[Q]: Sentence: 'a black cat has its head in a white toilet'. How many words end with the letter 't' in the sentence.
[A]:
2