new method exposed String getObjectSize