Question 10The numbers $1447,$ $1005,$ and $1231$ have something in common: each is a four-digit number beginning with $1$ that has exactly two identical digits. How many such numbers are there?