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

Sentence: 'a girl is ready to serve the ball on a clay court'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a red car parked with a gas pump inserted into it'. How many words contain the letter 'l' in the sentence.
0

Sentence: 'a person sitting cross legged on a washing machine'. How many words contain the letter 'y' in the sentence.

0