Thickness: Enough to support a normal actuator and all probable loads (torques) and not less than standard thickness for a pipeflange at the given pressure norm (??? others?).
Length: Enough to give room for spindle length sealing and bearing at the given pressure class/fluid/operation conditions/ mechanical forces (inclusive cooling distanse if high temperature valve).