How many members were in the European Union in 2011?

In 2011 there were 27 members of the European Union. See the related question below.