Initially from 1 to 9 - 9 digits will be counted. From 10 to 99, 90 numbers are there, it means 180 digits are included here. Now from 100 to 999, 900 digits are there, so total count will be 2700. So total digits upto now is 2889. For remaining 111 digits, number from 1000 to 1027 will be included and it. make total digit count2889+ 112 (28* 4) = 3001.