military power counts for not much nowadays, economic power is what counts. We were economically 5th most powerful country before brexit, now 6th, France went from 6th place to 5th place.
If/when the EU becomes a superstate, they will be the real superpower, more powerful than the USA and China.