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

Sentence: 'adult men playing with flying disc at popular beach'. How many words contain the letter 'o' in the sentence.
1

Sentence: 'a woman smiling for the camera while on a boat'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a white and blue jet airliner docked at an airport'. How many words contain the letter 'y' in the sentence.

0