What factors determine the amount of electric current in a circuit?