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

Q: Sentence: 'a hotdog is in a bun covered in cheese'. How many words contain the letter 'q' in the sentence.

A: 0
****
Q: Sentence: 'a man rides a black motorcycle around a curve'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'a man is on the soccer field holding a ball'. How many words contain the letter 'g' in the sentence.

A:
1
****