If a derivative action is successful, in whole or in part, as a result of a judgment, compromise or settlement of any such action, the court may award the plaintiff reasonable expenses, including reasonable attorney's fees, from any recovery in any such action or from a limited partnership.
6 Del. C. § 17-1004