Scotland was second out of 12 UK nations and regions on one key measure