What is the probability that a 10 digit number does not have four distinct digits?

i.e. calculate the probability that the 10 digit number has at most three distinct digits

Distinct digit = not occurring in the 10 digit number more than once

ex: 10 digit number 6677564492

distinct digits = 5, 2, 9