Size of a Kotlin class that contains custom objects as it’s data members I understand that in Kotlin(or Java) an object is a referenced type. i.e.