What did I do wrong?
Input: n = 3, rollMax = [1,1,1,2,2,3]\nOutput: 166??\n\nclass Solution {\n    public int dieSimulator(int n, int[] rollMax) {\n        return dieSimulatorHelper
Input: n = 3, rollMax = [1,1,1,2,2,3]\nOutput: 166??\n```\nclass Solution {\n    public int dieSimulator(int n, int[] rollMax) {\n        return dieSimulatorHelper(n, rollMax);\n    }\n    private int dieSimulatorHelper(int n, int[] rollMax) {\n        int count = 0;\n        if (n == 1) {\n            for(int i = 0; i < 6; i++) {\n                if (rollMax[i] > 0) {\n                    count++;\n                }\n            }\n        } else {\n            for(int i = 0; i < 6; i++) {\n                if (rollMax[i] > 0) {\n                    rollMax[i]--;\n                    count += dieSimulatorHelper(n - 1, rollMax);\n                    count %= 1000000007;\n                    rollMax[i]++;\n                }\n            }\n            \n        }\n        return count;\n    }\n}\n```
[]