Gets the number of bits used to hold number, e.
number
g. if number is 4, 3 bits are needed.
a uint
the number of bits used to hold number