Update counter.py

Edited indentation and file directory in example