Hackbright Letter Counter with Melanie, optimized solution