Measurement of electrical conductivity for metal wires using an electromagnetic sensor