Capital punishment is a legal penalty in the United States, currently used by 31 states, the federal government, and the military. Its existence can be traced to the beginning of the American colonies. The United States is the only Western country currently applying the death penalty, one of 58 countries worldwide applying it, and was the first to develop lethal injection as a method of execution, which has since been adopted by five other countries.

How many states in america use the death penalty? Okie... think carefully first, then make a decision:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
The relevant sentence in the passage is: Capital punishment is a legal penalty in the United States, currently used by 31 states, the federal government, and the military. So, the answer is 31.