BEGIN{strcpy RS,""}
{printf "%d %d %s\n",NR,NF,$0}
END{printf "total %d\n",NR}
