Another note on the MiG-29: At least three crashed. That explains why there are only 36 aircraft to trade for new ones.
As for their MiG-23, they're also part of the "trade-in contract" - or at least some of them. Active numbers have occasionally been stated as "around 30", not the "56" on wikipedia. The Algerian MiG-23 use downgraded systems (MiG-21 radar, no IRST) and can't fire any AAMs other than the obsolete AA-2 Atoll.
The Zlin-142 and Fernas-142 in the list are actually identical. Combined number around 45. Safir-43 (aka Zlin-43) are only listed with 5 units in SIPRI though, not 20.
Mi-8/17 helos: 35 Mi-8T, 47 Mi-8MTV, 42 Mi-171Sh in SIPRI, 2/5/2 less in wiki. Considering the Mi-8MTV were only delivered 10 years ago, 10% losses seem somewhat high.
Mi-24 helos: 36 Mi-24D (Mi-25), 44 Mi-24V (Mi-35) delivered. Wikipedia combines them both (total number 70, likely), and claims they're all upgraded, rather unlikely.