In this task, you need to count the number of words in a sentence that contain the given letter
--------
Question: Sentence: 'there is a small bowl of soup and vegetables'. How many words contain the letter 'g' in the sentence.

Answer: 1


Question: Sentence: 'a black and white photo of a very crowded tropical beach'. How many words contain the letter 'p' in the sentence.

Answer: 2


Question: Sentence: 'a seat on a train next to a window underneath a bed'. How many words contain the letter 'r' in the sentence.

Answer:
2