1.0.2
fix race condition and setting count only if not set before