Ver originalSELECT count(*) FROM Remitos re INNER JOIN Facturas fa WHERE re.fac_id = fa.fac_id group by re.fac_id