In any proceeding, the party entitled to recover costs may include in the costs such reasonable sum as was paid to the surety insurer as premium for any bond or undertaking required therein, and as may be allowed by the court having jurisdiction of the proceeding.
HRS § 431:10F-103