use counter is there exists one, only set counter-hash if not set yet