How to get the size of an assembly instance?