#!/usr/local/bin/tcsh

foreach x (`cut -f6 students | sort | uniq`)
  echo $x `grep $x students | wc -l`
end
