cat %filename% | sort | uniq -c