myWords = set(('some text', 'some more text', 'even more'))
for row in reader:
    if row[x] in myWords:
        total += 1
writer.writerow(row)
Is there a better way to read an element from a file in Python?