import collections

with open("newsafr.txt", "r", encoding= "utf-8") as f:
    array = [line.strip().split() for line in f]
    p = collections.Counter()
    data = []
    print(len(array))
    for i,j in range(len(array)):
        if len(array[i][j]) > 6:
            data.append((array[i]))
    for j in range(len(data)):
        p[data[0][j]] += 1
print(data)
print(p)
