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

Q: Sentence: 'a cat lying on an open laptop that is on a bed'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'a person in the air with a skateboard upside down underneath'. How many words contain the letter 'i' in the sentence.

A: 4
****
Q: Sentence: 'a group of giraffes traveling across a dry open field'. How many words contain the letter 'd' in the sentence.

A:
2
****