Teacher:Given a passage and a question, find the answer to the question based on the passage. The answer should consist of only one word that lies in the span of only one of the sentences in the passage.
Teacher: Now, understand the problem? Solve this instance: Paragraph: 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 .
Question: how many states in america use the death penalty

Student:
31