fix bug: GetLength() code for MAP, LIST field separated for each case (primitive or reference type for value)