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

Sentence: 'a man standing in the ocean holding a surfboard'. How many words contain the letter 'c' in the sentence.
1

Sentence: 'people in different boats rowing around a lake'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'a line of very tall buildings next to a clock tower'. How many words contain the letter 'o' in the sentence.

4