In any civil action or other proceeding wherein construction of a will or trust deed or any part thereof is asked, there may be allowed to each of the parties defendant brought in by the action or other proceeding, applying therefor, such reasonable sum for expenses and on account of counsel fees as the court in which the case is pending shall deem proper; the allowance shall be taxed as costs in the cause and be paid out of the estate or fund in the hands of the complainant concerning which estate or fund the construction is asked.
R.I. Gen. Laws § 9-14-25