active_count moved. Should work with future sleep(count) wake(count)