duplicateCharCounter

I first encountered the duplicate character counter prompt on CodeWars, but I didn't think it was fleshed out enough. So I made this code that finds characters in a string that have duplicates and displays the character along with the amout of times it occured.