How does one measure what a country does for its citizens? The Social Progress Index tries to do that.