In this task, you need to count the number of words in a sentence that contain the given letter

Q: Sentence: 'a large dog curls up on the pillow on a bunk bed'. How many words contain the letter 't' in the sentence.

A: 1
****
Q: Sentence: 'a parked blue and white motorcycle with a black seat'. How many words contain the letter 'd' in the sentence.

A: 2
****
Q: Sentence: 'an empty city street with traffic lights fence and construction items on the side'. How many words contain the letter 'e' in the sentence.

A:
6
****