select count(idfactura), idfactura from __elcorcho_venta ven group by idfactura having count(idfactura)>1