SELECT c.`email`, COUNT(f.`id`) AS 'cuenta' FROM `cliente` AS c INNER JOIN `factura` AS f ON c.`email`=f.`mail_cliente` GROUP BY f.`mail_cliente`