31. Suits relating to mortgages. - (1) In a suit to recover the money due on a mortgage, whether the sale of the mortgaged property is prayed for or not, fee shall be computed on the amount claimed. (2) If the holder of a prior mortgage or charge impleaded as a defendant in such a suit prays in his written statement for the determination of the amount due on his mortgage or charge and for a direction in the decree for the payment of such amount to him, fee shall be payable on the written stateme