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

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

Sentence: 'a crowd of people flying kites near the capitol building'. How many words contain the letter 'a' in the sentence.
3

Sentence: 'two men surfing a wave in the ocean'. How many words contain the letter 'v' in the sentence.

1