with open(infile, 'r') as r:
    start = set([line.strip().split()[3] for line in r])
r.seek(0, 0)
genes = set([line.split('"')[1] for line in r])
print(len(start))
print(len(genes))
splitting lines with " from an infile in python