do countWakeup only when value is set