How many 7-digit sequences have a digit that appears at least 6 times? (For example, 3339333 and 0200000 are two such sequences. A sequence is allowed to begin with 0.)