def _count_righthand_zero_bits(number, bits):
 if (number == 0):
  return bits
 for i in range(bits):
  if ((number >> i) & 1):
   return i
 return bits

def _count_righthand_zero_bits ( number , bits ) : if ( number == 0 ) : return bits for i in range ( bits ) : if ( ( number >> i ) & 1 ) : return i return bits
count the number of zero bits on the right hand side .