How long is my number: Restricted Version Find the original challenge here

Challenge

Given an integer, Z in the range -2^31 &lt; Z &lt; 2^31, output the number of digits in that number (in base 10).

Rules

You must not use any string functions (in the case of overloading, you must not pass a string into functions which act as both string and integer functions). You are not allowed to store the number as a string.

All mathematical functions are allowed.

You may take input in any base, but the output must be the length of the number in base 10.

Do not count the minus sign for negative numbers. Number will never be a decimal.

Zero is effectively a leading zero, so it can have zero or one digit.

Examples

Input &gt; Output

-45 &gt; 2
1254 &gt; 4
107638538 &gt; 9
-20000 &gt; 5
0 &gt; 0 or 1
-18 &gt; 2


Winning

Shortest code in bytes wins.
Mathematica, 13 bytes

IntegerLength


Well...