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

Q: Sentence: 'a white sand beach with chairs umbrellas and people'. How many words contain the letter 't' in the sentence.

A: 2
****
Q: Sentence: 'pair of one kind of birds and another bird perched on a railing'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'the cat is snuggled up to a teddy bear'. How many words contain the letter 'd' in the sentence.

A:
2
****