According to a yearly study by the Robert Wood Johnson Foundation, which ranks all 254 Texas counties by factors that indicate resident health, Denton County is the second-healthiest county in the state.