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

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

Sentence: 'a person holds a video game remote as another man looks on'. How many words contain the letter 'g' in the sentence.
1

Sentence: 'the game being played involves three people with racquets'. How many words contain the letter 'd' in the sentence.

1