Which sequence is correct for assessing livestock zakat?

Zakat on Sheep and Goats: Brackets, Liability, and Discharge