With Republican state Sen. Mark D. Obenshain holding the slimmest lead — less than 500 votes — over Democratic state Sen. Mark Herring to become attorney general, the race is likely headed for a recount. That means, it would be weeks before Virginians are certain who will be the state’s top lawyer. First, there is no such thing as an automatic recount. Under Virginia law, a loser in a tight race may request a recount within 10 days after the state Board of Elections certifies the results. That won’t happen until Nov. 25 — after each county and city canvasses and certifies its own results.