counting unique words in python,print(len(set(w.lower() for w in open('filename.dat').read().split())))