597. Covenant account and mortgage account.

The order made in foreclosure proceedings directs, in the first instance, that the necessary accounts are to be taken, and any inquiries made which are essential to taking the accounts or required for ascertaining the parties' rights. If payment is claimed, two accounts may have to be taken, as the sum recoverable on the covenant for payment and the sum which must be paid as the price of redemption are different. The former sum is limited to principal and interest, and to so much of the costs of the proceedings as would have been incurred if the proceedings had