Update berrystats.py
Merge pull request #1 from kuyan/patch-1

Usng "with" block in update_counter(). Thanks, kuyan!