Any person who is entitled to redeem under article 4 of this chapter may redeem at any time before judgment is entered, notwithstanding that an action to foreclose has been commenced, but if the person redeems after a notice is recorded pursuant to section 12-1191, judgment shall be entered in favor of the plaintiff against the person for the costs incurred by the plaintiff, includingall of the following:
A.R.S. § 42-18206