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