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