In one season, Kim ran 18 races. This was 4 fewer races than twice the number of races Kelly ran. How many races did Kelly run?