def get_signature_size(msg):
if isinstance(msg, (TxinGen, TxinToScript, TxinToScriptHash)):<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>elif isinstance(msg, TxinToKey):<EOL><INDENT>return len(msg.key_offsets)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>
Returns a signature size for the input
:param msg:
:return: