Counties to appeal court's decision favoring APA on waterfront construction