Iraq attacks kill 12 as vote count goes on