Taking into account no of alive nodes while contacting replicas