As of my last knowledge update in September 2021, there were 164 member countries in the World Trade Organization (WTO). Please note that the number of members might have changed since then, so it's essential to verify the current count.