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

Sentence: 'a person that is wearing glasses looking into a mirror'. How many words contain the letter 'f' in the sentence.
0

Sentence: 'a persons desk with a computer and many books in a case behind it'. How many words contain the letter 'd' in the sentence.
3

Sentence: 'cherry tomatoes cheese beans and broccoli on a table'. How many words contain the letter 't' in the sentence.

2