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: 'woman riding a biking next to a tall building'. How many words end with the letter 'o' in the sentence.
[A]: 1


[Q]: Sentence: 'the man wearing a hat and sun glasses is sitting under an umbrella'. How many words end with the letter 'd' in the sentence.
[A]: 1


[Q]: Sentence: 'a brightly colored bird perches on a tree branch'. How many words end with the letter 'd' in the sentence.
[A]:
2