{ x[$1] += length } END { for (i in x) print i, x[i] | "sort" }