Bayesian Learning in the Counterfactual World