The cost of appearance of any such guardian ad litem or next friend, including compensation of his counsel, shall be determined by the court and paid by the plaintiff, against whom execution may issue therefor in favor of the guardian ad litem or next friend.
Mass. Gen. Laws ch. 240, § 9