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.

Example Input: Sentence: 'green bananas and a grapefruit are sitting in front of flowers'. How many words end with the letter 'f' in the sentence.
Example Output: 1

Example Input: Sentence: 'a boys sprays water stream at a passing bicyclist'. How many words end with the letter 's' in the sentence.
Example Output: 2

Example Input: Sentence: 'a red building with a red truck parked next to it'. How many words end with the letter 'd' in the sentence.
Example Output:
3


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.

Example Input: Sentence: 'green bananas and a grapefruit are sitting in front of flowers'. How many words end with the letter 'f' in the sentence.
Example Output: 1

Example Input: Sentence: 'a boys sprays water stream at a passing bicyclist'. How many words end with the letter 's' in the sentence.
Example Output: 2

Example Input: Sentence: 'a red building with a red truck parked next to it'. How many words end with the letter 'd' in the sentence.
Example Output:
user
3


assistant
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.

Example Input: Sentence: 'green bananas and a grapefruit are sitting in front of flowers'. How many words end with the letter 'f' in the sentence.
Example Output: 1

Example Input: Sentence: 'a boys sprays water stream at a passing bicyclist'. How many words end with the letter 's' in the sentence.
Example Output: 2

Example Input: Sentence: 'a red building with a red truck parked next to it'. How many words end with the letter 'd' in the sentence.
Example Output:
3

