text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_28241890_2 (next_in_line VARCHAR, heir VARCHAR)
  ### Question:
  How many next in lines had heirs of Archduke Karl?
  ### Answer:
  SELECT COUNT(next_in_line) FROM table_28241890_2 WHERE heir = "Archduke Karl"