Properly implement getLength() method for external properties, including binaries