How many numbers from 1 to 100 written in decimal form have the digit 5 in them?
How many times would digit 2 be written, if you wrote down all the whole numbers from 1 to 100?