How many '8' will you pass on the way when you count from 1 to 100

Answer: 
20
How many '8' will you pass on the way when you count from 1 to 100