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

Sentence: 'a man walking across a beach carrying a surfboard'. How many words contain the letter 'i' in the sentence.
2

Sentence: 'a man sits beside large bags of fruit in a market'. How many words contain the letter 't' in the sentence.
3

Sentence: 'a white bathroom with a clear green tinted sink and a standing shower'. How many words contain the letter 'u' in the sentence.

0