code: def bad_solution_count(self, *args, **kwargs):
          "Return a count of how many :class:`TxIn` objects are not correctly solved."
          return sum(0 if self.is_solution_ok(idx, *args, **kwargs) else 1 for idx in range(len(self.txs_in))f bad_solution_count(self, *args, **kwargs):
          "Return a count of how many :class:`TxIn` objects are not correctly solved."
          return sum(0 if self.is_solution_ok(idx, *args, **kwargs) else 1 for idx in range(len(self.txs_in)))
docs: Return a count of how many :class:`TxIn` objects are not correctly solved.