Pergunta de entrevista da empresa Yelp

How many times do strings in a list exist in three sentences?