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

Q: Sentence: 'a man showing a piece of hardware he took apart'. How many words contain the letter 'y' in the sentence.

A: 0
****
Q: Sentence: 'a television is sitting on a table in a room'. How many words contain the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a room with a door open to the outside with a car outside the doorway'. How many words contain the letter 'a' in the sentence.

A:
5
****