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

Q: Sentence: 'a piece of half eaten swirl cheesecake on a plate'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'bus moving through parking lot in front of building'. How many words contain the letter 'g' in the sentence.

A: 4
****
Q: Sentence: 'a man flying a kite on a very clear day'. How many words contain the letter 'o' in the sentence.

A:
1
****