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

Sentence: 'the children are playing on the beach  next to the water'. How many words contain the letter 'h' in the sentence.
5

Sentence: 'a blue and white fire hydrant and two cars parked across the street'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a living room with a floral imprinted sofa'. How many words contain the letter 'u' in the sentence.

0