Creatures that died and were resurrected during the battle (with the help of skills or spells of creatures, for example, by "Rebirth", "Life Drain", "Raise Dead", "Resurrection", etc.) are considered dead when counting losses based on the battle results of the battle. The number of dead creatures in this case is calculated by the formula: Initial number of creatures on the stack - The minimum number of creatures on the stack for the entire battle = Number of dead creatures.
Example: The Lord/ Lady took 10 Vampires into battle. During the battle, the number of Vampires dropped to 7 several times (no more than 3 Vampires died before they recovered, a total of 9 Vampires were killed in the battle). Vampires attacked enemy units, drained their health, and as a result, by the end of the battle, they fully recovered - there were 10 of them again. At the end of the battle, 3 Vampires will be considered dead.
According to the formula: 10 - 7 = 3