in reply to Hash to count characters
perl -0777E '$s{$_}++ for split//,<>; say "$_ ", $s{$_}||0 for "a".."z +", "A".."Z"' your-data-file [download]