Implemented message size method.