Project Euler #156: Counting Digits