class Solution: def countConsistentStrings(self, allowed: str, words: List[str]) -> int: return len(list(filter(lambda e:set(e)<=set(allowed),words)))