How many Integers in the range [0-n] contain at least one 9 in their decimal representation? Is there a universal formula for how you could work this out?