Feature-based Learning for Diverse and Privacy-Preserving Counterfactual Explanations