Millions of legitimate votes are still to be counted as the race for the White House goes down to the wire.