complete countAlive