All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His Slave and Messenger.
The husband saying to his wife “divorced, divorced, divorced” counts as one divorce if he intended one divorce or if he did not intend any number of times. But if he intended three divorces, then divorce takes place three times. Ibn Qudaamah said: “If he [the husband] says [to his wife], 'you are divorced, divorced, divorced', and he says that he intended to emphasize it [by repeating the word], then this is accepted from him… but if he intended to initiate a new divorce and repeated the words of divorce thrice, then she is divorced three times; and if he did not intend anything (i.e. any number of times), then it takes place as one divorce only.” [End of quote]
However, Shaykh Al-Islam Ibn Taymiyyah is of the view that the three divorces in one session counts as one divorce; this is whether the husband intended to emphasize what he said or intended to initiate a new divorce.
If you feel comfortable with this view and you acted in accordance with it because you considered it to be the strongest opinion, then you may do so and it is counted as one divorce. In that case, any uncertainty about your intention at that time does not make a difference. For more benefit, please refer to Fatwa 174947.
As regards the divorce of an angry husband, then the opinion in our view is that anger does not prevent divorce from taking place except in one case, which is when the husband is unconscious of what he says. For more benefit in this regard, please refer to Fatwa 121374. The statement of Ibn Al-Qayyim that you referred to in the question is included there.
Finally, in cases of uncertainty over the number of times of divorce, it is the least number that is taken into account, according to the view of the majority of the scholars. Therefore, if you are uncertain whether you wanted to emphasize the words or initiate a new divorce, then it is counts as emphasis, as this is the least.
Allaah Knows best.