Update countRotations