Game counts one portal as two - one in dungeon and one on the surface.
You can see that if you claimed 3 portals game will show you that you've claimed 6 of them in upper bar. Also if you don't have path connected to portal you'll get two messages about that.