You're iterating over every line and calling Counter each time. You want Counter to run over the entire file. Try:
from collections import Counter
with open("TEST.txt", "r") as f:
# Used file context read and save into contents
contents = f.read().split()
print Counter(contents)