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

Q: Sentence: 'a giraffe that is eating some leaves from a tree'. How many words contain the letter 'g' in the sentence.

A: 2
****
Q: Sentence: 'a teddy bear laying on a pillow on a bed'. How many words contain the letter 'w' in the sentence.

A: 1
****
Q: Sentence: 'a group of people boarding a passenger jet up stairs'. How many words contain the letter 'd' in the sentence.

A:
1
****