The total number of wells producing crude oil and natural gas in the United States fell to 991,000 in 2017, down from a peak of 1,039,000 wells in 2014. This…