[java] Way to get number of digits in an int?