Update counter.py with defaultdict

Compatible (and preferred) with Python 2.5+.
Match indents
Add Nanum Gothic Coding font for Korean support