結果 : count number of digits in an integer using while loop in java