769. Costs of parties claiming under mortgagee.

Where a sub-mortgagee1 is a necessary party, he has his costs against the mortgagee, and the mortgagee adds them to his own debt2. This rule applies, however, only to costs due to persons claiming under the mortgagee