in reply to Perl Sum & Count column based data

Can you post runnable code?