(a) In an action on the bond of the clerk of a court or register of wills, the measure of damages is the sum the clerk or register charged for the services he has not performed.
(b) If a person sustains special damages because the clerk or register fails to perform the services requested, the person shall be compensated for the special damages in addition to the clerk’s fees.