Charges against Hamlin official head to county court