match = re.findall(r"\№[0-9]{6,}", f.read())
match1 = re.findall(r"\№[0-9]{6,}", f.read())
print(str(len(match)))
print(str(len(match1)))
txt = f.read()
match = re.findall(r"\№[0-9]{6,}", txt)
match1 = re.findall(r"\№[0-9]{6,}", txt)
print(str(len(match)))
print(str(len(match1)))