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

Q: Sentence: 'a tree by a house has a traffic sign attached to it'. How many words contain the letter 'm' in the sentence.

A: 0
****
Q: Sentence: 'a fresh flower on a table in a piture of water'. How many words contain the letter 'n' in the sentence.

A: 2
****
Q: Sentence: 'an overweight tennis player is serving a ball'. How many words contain the letter 'y' in the sentence.

A:
1
****