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

Q: Sentence: 'a green blue and yellow boat sitting in a harbor'. How many words contain the letter 'o' in the sentence.

A: 3
****
Q: Sentence: 'a train on the side of a road on the edge of the water'. How many words contain the letter 'u' in the sentence.

A: 0
****
Q: Sentence: 'a man is on a smartphone as he gets a tattoo'. How many words contain the letter 'i' in the sentence.

A:
1
****