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

Sentence: 'a person leaning on an elephant statue near trees'. How many words contain the letter 's' in the sentence.
3

Sentence: 'a picture of a plane in the air'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'the clock has been made with great detail'. How many words contain the letter 'r' in the sentence.

1