nighttime counter in wavemanager