EntityContent::getSize is currently implemented as:
return strlen( serialize( $this->getNativeData() ) );
This uses the native PHP serialization, which we don't use for anything else. The number returned has little to do with the actual storage size.
We could use the size of the JSON serialization instead, which could perhaps also be cached/re-used.