It got a lot easier when I read that I wasn't aloud to use arrays. Now the int turns to a string and each digit gets a count depended on it's char