get number of digits in an integer python without converting to string
By Brian Nienow at Jun 27 2021