Obama has a nearly insurmountable lead in delegates to the party 's nominating convention after months of contests that began in January , but Clinton has refused to give up until the last votes are cast and counted .