You are given a string allowed made of distinct lowercase letters and an array of strings words. A word is consistent if every one of its characters appears in allowed. Return how many words in words are consistent.
You are given a string allowed made of distinct lowercase letters and an array of strings words. A word is consistent if every one of its characters appears in allowed. Return how many words in words are consistent.