counter on condition choosing