in reply to Perl Sum & Count column based data

All of these responses look like they will work. Thank you all. I will run them all through perl to understand the syntax better.