Question 6Among all four-digit numbers with $3$ as their thousands-digit, how many have exactly two identical digits?