Taiwan is a country. The UN no more than a mere club membership where countries can talk.
The UN doesn’t decide who is and is not a country.