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

Sentence: 'there is a person awaiting to cross this street'. How many words contain the letter 'a' in the sentence.
2

Sentence: 'a couple is fast asleep at 3 in the morning'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a silver passenger train traveling down train tracks'. How many words contain the letter 'g' in the sentence.

2