Do amended charges from dui to littering in Missouri count towards subsequent sentencing for dui?

Do amended charges from dui to littering in Missouri count towards subsequent sentencing for dui?
Prior dui, no current, just wanting to know since 3rd is a felony.

Justin’s Answer
If the charge was reduced prior to plea/conviction then it will not count as an enhancement for future DWIs.