fn general_array_length<O: OffsetSizeTrait>( array: &[ArrayRef], ) -> Result<ArrayRef>
Dispatch array length computation based on the offset type.