Number of Valid Words for Each Puzzle
Given arrays `words` and `puzzles`, return one count for each puzzle. A word is valid when it contains the puzzle's first letter and every letter in the word occurs in that puzzle. Repeated words are counted repeatedly.