pub async fn segment_length(args: Args) -> Result<KclValue, KclError>
Returns the length of the segment.