My friend wants to use a special seven-digit password. The digits of the password occur exactly as many times as its digit value. Also, the same digits of this number are always written consecutively, for example: 4444333 or 1666666. How many possible passwords can he choose from? (A) 6 (B) 7 (C) 10 (D) 12 (E) 13​