There are twenty-eight member states who have conferred powers upon the EU institutions (other countries are tied to the EU in other ways).
Some member states are outside certain areas of the EU, for example the eurozone is composed of only 19 of the 28 members and the Schengen Agreement currently includes only 22 of the EU members.