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

Q: Sentence: 'a clothing line with teddy bears hung by their ears'. How many words contain the letter 'n' in the sentence.

A: 3
****
Q: Sentence: 'the two ladies was sitting  on the sofa'. How many words contain the letter 'l' in the sentence.

A: 1
****
Q: Sentence: 'some buildings on top of a hill in the middle of the water'. How many words contain the letter 'h' in the sentence.

A:
3
****