In this task, you need to count the number of words in a sentence that contain the given letter
--------
Question: Sentence: 'the two ladies was sitting  on the sofa'. How many words contain the letter 'l' in the sentence.

Answer: 1


Question: Sentence: 'a line of portable toilets stands outdoors under trees'. How many words contain the letter 'l' in the sentence.

Answer: 3


Question: Sentence: 'a dog lowers its head to the ground'. How many words contain the letter 'r' in the sentence.

Answer:
2