count occurrences of word in file linux