Counterfactual Scenarios for Automated Planning