How many positive integers less than 1000 have at least one digit of 8?
100 from 800 to 899 inclusive
Then, additionally....
10 (9) + 9 (9) = 171
So
100 + 171 =
271