You can make a generating function which will count number of possible combinations for you. This is a standard trick from character theory and it is also related to quantum statistics in physics.
For your example, let us assign formal labels to numbers
$$7\leftrightarrow x\,,\ 5\leftrightarrow y\,,\ 3\leftrightarrow z\,,\ 2\leftrightarrow t$$
Then the function
$$f(\epsilon)=\frac{1-\epsilon^4 x^4}{1-\epsilon x}\frac{1-\epsilon^3 y^3}{1-\epsilon y}\frac{1-\epsilon^2 z^2}{1-\epsilon z}\frac{1-\epsilon^4 t^4}{1-\epsilon t}$$
will generate, upon expansion in $\epsilon$, all possible combinations that you are looking for. Degree of $\epsilon$ corresponds to the number of single-digit numbers that you want, e.g.
$$f=1+\epsilon(x+y+z+t)+\epsilon^2(x^2+y^2+t^2+x\,y+x\,z+x\,t+y\,z+y\,t+z\,t)+\ldots$$
The trick is in observation that e.g. $\frac{1-x^4}{1-x}=1+x+x^2+x^3$, so the generating function knows that you have exactly three "$7$"'s, and in your combinations you can pick 0,1,2, or 3 of them, etc.
If you put $x=y=z=t=1$, you get the function which counts dimensions:
$$f_{\rm dim}(\epsilon)=\frac{(1-\epsilon^4)^2(1-\epsilon^3)(1-\epsilon^2)}{(1-\epsilon)^4}=1+4\epsilon+9\epsilon^2+15\epsilon^3+19\epsilon^4+\ldots$$
So, we got 15 different lists of 3 elements, 19 different lists of 4 elements etc. And we confirmed that you found all lists of 3 elements!
In general, if you have $n$ distinguished letters (single-digit numbers), and the $k$'th letter repeats $N_k$ times, then the generating function for the number of possible combinations reads
$$
f_{\rm dim}(\epsilon)=\prod_{k=1}^n\frac{1-\epsilon^{N_k+1}}{1-\epsilon}
$$
Any modern symbolic computer software will perform Taylor expansion of this expression in no time.