Ohm's law tells you that current through a wire – even a long wire wound around a motor solenoid – is equal to the voltage divided by the resistance. You can determine the resistance of a motor coil if you know the wire gauge, the radius of the solenoid and the number of windings.