Chapter Example: Calculating the Number of Digits in an Integer