3. In determining if a violation is a class “D” felony offense the following shall apply:
- a. A deferred judgment entered pursuant to section 907.3 for a violation of any offense specified in subsection 2 shall be counted as a previous offense.
- b. A conviction or the equivalent of a deferred judgment for a violation in any other states under statutes substantially corresponding to an offense specified in subsection 2 shall be counted as a previous offense. The courts shall judicially notice the statutes of other states which define offenses substantially equivalent to the offenses specified in this section and can therefore be considered corresponding statutes.