(1) In a suit for foreclosure, if the plaintiff succeeds, the. Court shall pass a preliminary decree. (a) ordering that an account be taken of what was due to the plaintiff at the date of such decree for:- (i) principal and interest on the mortgage, (ii) the costs of suit, if any, awarded to him, and (iii) other costs, charges and ex...