<human>:  How many times has the US formally recognized a country as an independent nation?
<bot>: The US has recognized a total of 196 countries as independent nations. The first country to be recognized was the Republic of Texas in 1845. The most recent country to be recognized was the Republic of Kosovo in 2008.