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

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

Sentence: 'a road cut off by police barricade tape'. How many words contain the letter 'x' in the sentence.
0

Sentence: 'an apple computer is on a white table'. How many words contain the letter 's' in the sentence.

1