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

Sentence: 'a cat in a tie sits on the couch'. How many words contain the letter 't' in the sentence.
4

Sentence: 'the view of a pier throw rain covered window'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a woman sits on the ground in front of a baby holding a flying disc'. How many words contain the letter 'q' in the sentence.

0