Is there a way to write a code that counts every letter, space, characters with the exception of 0-9 and with an exception of not stating what every characters, space, and letter is?
i.e. If I wanted to count 20482.2140108ab and wanted to return with
0 3
1 2
2 3
3 0
4 2
5 0
6 0
7 0
8 2
9 0
other symbols 3
?