756. Mortgagee's costs of recovery of debt.

The mortgagee is allowed the costs of a claim to recover the mortgage debt, whether brought against the mortgagor1 or a surety, and notwithstanding that the claim is unproductive through the surety's insolvency2 or that the contract of suretyship is subsequent to the mortgage