condition counter setting