Currently there are 193 members of the United Nations - so the answer is 193.
The last country to join was South Sudan - in 2011 (it has had a civil war ever since). Before it was Montenegro and before Montenegro it was East Timor.
When it was founded, the UN had 51 members.