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

Q: Sentence: 'a plate has many different types of food on it'. How many words contain the letter 'r' in the sentence.

A: 1
****
Q: Sentence: 'several ties hang from a bar in a closet'. How many words contain the letter 'e' in the sentence.

A: 3
****
Q: Sentence: 'the woman smiles while skiing with a companion'. How many words contain the letter 't' in the sentence.

A:
2
****