(use gauche.sequence)(dolist(a(cdr(group-sequence(sort(port-map values read-char)))))(format #t"~a:~3@a "(car a)(length a)))