Added synchronize to HashCounter put/get methods
Merge pull request #244 from tbeauvais/synchronize_hash_counter

HashCounter put/get methods should be synchronized