code: def _ntz(x):
          
          if x == 0:
              return 0
          y = (~x) & (x - 1)    # There is actually a bug in BAP until 0.8
  
          def bits(y):
              n = 0
              while y != 0:
                  n += 1
                  y >>= 1
              return n
          return bits(y)
docs: Get the number of consecutive zeros
          :param x:
          :return: