Measurement of electric current