added a reset to the counter
Merge pull request #7 from mixbe/counter-reset

added a reset to the counter