In each case, the counsel making the motion and conducting the suit shall be allowed ten percent (10%) on the recovery as compensation as fixed by § 67-1-1620, to be added to and become a part of the judgment; provided, that no such attorney's fee shall be chargeable to any surety on the bond of any such trustee or other officer whose duty it is to collect taxes under this title, until after demand has been made on such surety or sureties, and the surety or sureties have failed or refused to perform the duties required by law of the surety's or sureties' principal, or have failed or refused to pay over the sums of money due from such trustee or other officer.