code: def get_nn(unit):
      
      nn = 0
      match_re = re.findall(number, unit)
      if match_re:
          string = ''.join(match_re)
          nn = len(string)
      return int(nn)
docs: 获取文本行中阿拉伯数字数的个数
  
      Keyword arguments:
      unit                    -- 文本行
      Return:
          nn                  -- 数字数