56Where costs are awarded against the plaintiff or other person claiming a lien, the costs shall not exceed in the aggregate an amount equal to twenty-five per cent of the claim of the plaintiff and other claimants, besides actual disbursements, and shall be apportioned and borne as the judge directs.