Number of Valid Words for Each Puzzle