validation of conditionwhatcounter