Unfortunately, you are not.
The author provides the preceding information as a service to the public. Author's response, as stated above, should not be considered legal advice. An initial attorney-client conference, based upon review of all relevant facts/documents, will be necessary to provide legal advice upon which the client should then rely.
The appearance fee goes to the County. There is no process to get a refund from the County. The only way the plaintiff would be required to pay your costs is if a contract provided for the party who wins to pay the other party's costs. Be thankful the case was dismissed with prejudiced. And the matter is now resolved.