Post History
Perl, 50 bytes Consumes stdin. Outputs a line with stats in same order as the examples. perl -gnE'@w=split;$,=$";say@w+0,y/\n//c,y/\n //c'
Perl, 50 bytes Consumes stdin. Outputs a line with stats in same order as the examples. perl -gnE'@w=split;$,=$";say@w+0,y/\n//c,y/\n //c'