When the judgment is for the person so alleged to be entitled to the office, he may have included therein a money judgment against the defendant and the surety or sureties on his bond, if furnished as in Section 6 [44-3-6 NMSA 1978] provided, for all fees and emoluments collected by him during the term involved in such case with interest thereon at six percent per annum; and he may recover by separate action the damages which he shall have sustained by reason of the usurpation by the defendant of the office from which by virtue of said judgment said defendant has been excluded.
NMS § 44-3-12