Al-Sha'bi (may Allah have mercy on him) and Ibrahim (may Allah have mercy on him) said: A divorce given during the waiting period ('iddah) counts.