Counting and extracting words

From gnuplot