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

Sentence: 'a man paddle boarding in the middle of the ocean'. How many words contain the letter 'i' in the sentence.
3

Sentence: 'a airplane that has a propeller on the wing'. How many words contain the letter 'z' in the sentence.
0

Sentence: 'a small toilet with a square lid and low to the floor'. How many words contain the letter 'q' in the sentence.

1