Question 20The numbers $1447$, $1005$, and $1231$ are four-digit numbers starting with $1$ and having exactly two identical digits. How many such numbers are there?