def cred_def_id2seq_no(cd_id: str) -> int:
return int(cd_id.split('<STR_LIT::>')[-<NUM_LIT:2>])<EOL>
Given a credential definition identifier, return its schema sequence number.

:param cd_id: credential definition identifier
:return: sequence number