The number of times the digit 3 will be written when listing the integers from 1 to 1000 is
How many times will the digit `7' be written when writing the integers from 1 to 1000?