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

Sentence: 'the young giraffe is standing near the fence'. How many words contain the letter 's' in the sentence.
2

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

Sentence: 'different styles of wine glasses lined up on the table'. How many words contain the letter 'd' in the sentence.

2