How many 4-digit numbers are there in all?
Greatest 4-digit number = 9999
Greatest 3-digit number = 999
Now, on subtracting these, we get:-
9999-999=9000
Hence, there are 9000 four-digit numbers at all.