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

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

A: 3
****
Q: Sentence: 'a cat lying on an open laptop that is on a bed'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'a man is standing in front of some jugs'. How many words contain the letter 'o' in the sentence.

A:
3
****