«إن دخلت الدار فأنت طالق ثم طالق»
If you enter the house, then a divorce is pronounced, then another.
«أنت طالق ثم طالق إن دخلت الدار»
A divorce is pronounced, then another, if you enter the house.
The words resemble one another, but the condition is placed differently. The interpretive question is which preceding clauses the final condition modifies, and how the delay expressed by thumma affects their relationship.
Simply counting occurrences of the word divorce is insufficient: syntactic attachment, the condition's position, and the juristic rules must be examined separately.