def METHOD_NAME(self, emulator_json: Dict[str, Any]):
    account_cnt = (
        len(emulator_json.get('accounts', list())) +
        len(emulator_json.get('solana_accounts', list()))
    )
    if account_cnt > self._config.max_tx_account_cnt:
        raise EthereumError(f'transaction requires too lot of accounts {account_cnt}')