increment count when adding to hash_map