The message size for limits and pricing is considered to be the sum of all of the parts of a message that are under control of the client, including name, clientId, and data, before any compression (or expansion) that occurs in the serialisation process.