I have a text file which I would like to count the number of occurrences of each character in the file
Below is an example of what my file look like
#1=DBD?BFHH=FIIIHIIGIHGHHIIIIIIIIGG?CHIIIAGGGHIGHEEHB@BDBCEDDDDD@CCA>?A>@C>:<?CCDDDDD@CD@DCBD9?CCDCB@
#1=DDFFFHFDHHIIIIJJIGHJIJGIIIIEGHGHJJBFGFHEIEEG@FFHJ.=EHHHABDDDBCCECEEEEDCBDEDDDDDDDDCDD?B9B:A:@?CCCD
So the output would be:
E - 10, C - 20, (#) - 10, 3 - 9
etc etc...
I hope I was clear enough in what I want.
Thanks!