In principle I resolved it as if the first number could be zero, to the end eliminate those that start with zero.
The numbers that can use $4$ certain figures (for example, $1$, $2$, $3$ and $4$) are $4^{10}$. The numbers that can use any $4$ digits are ${10\choose 4}\cdot 4^{10}$
I'm saying "they can use," which does not mean that use; however this is very advantageous for this problem, for those who "can use" includes four digits using $4$ digits, which use $3$ to $2$ and using those who only use one.
So answering the question of the problem, the answer is:
"All ten-digit numbers except those who can only use four digits" \begin{align} &= 10^{10} - {10\choose 4} \cdot 4^{10}\\ &= 10^{10} - 210 \cdot 4^{10} \end{align} There is no reason to believe that the figures have some asymmetric distribution, so it is obvious that for all these numbers, the tenth start with zero. Since starting with zero are not exactly ten-digit numbers, we discard it.
The solution is: \begin{align} \tfrac 9{10} (10^{10} - 210 \cdot 4^{10})&= 9(10^9 - 21 \cdot 4^{10})\\ &= 8,801,819,136 \end{align} But I'm not sure this reasoning is correct.
If we are looking for the number of strings of length $10$ consisting of $4$ different objects, whereby
each object may occur zero or more times, we calculate \begin{align*} 10![x^{10}]e^{4x} \end{align*}
each object occurs at least once, we remove $x^0$ from the generating function $e^x$ and calculate \begin{align*} 10^4 \end{align*}
each object occurs at most three times, we take the initial four summands from the series representation of $e^x$ and calculate \begin{align*} 10![x^{10}]\left(1+x+\frac{x^2}{2!}+\frac{x^3}{3!}\right)^4 \end{align*}
$$ $$