select count(*) as total from products p left join manufacturers m on (p.manufacturers_id = m.manufacturers_id), products_description pd, TABLE_WARRANTY w where p.products_status = '1' and pd.products_id = p.products_id and p.warranty_id = w.warranty_id and pd.language_id = w.language_id and pd.language_id = '2'