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.

Ex Input:
Sentence: 'a street scene with four buses lined up on the side of the road'. How many words end with the letter 'p' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a beach with many people and colorful tents on it'. How many words end with the letter 'd' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'water with waves and there is a portion of the dock that has a weight attached to it and a bird is sitting on the dock'. How many words end with the letter 't' in the sentence.

Ex Output:

3