select count(p.products_id) as total from (products p, products_description pd, manufacturers m , products_to_categories p2c , prices prices ) left join specials s on p.products_id = s.products_id left join categories c on c.categories_id = p2c.categories_id where p.products_status = '1' AND prices.product_id = p.products_id and pd.products_id = p.products_id and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and m.manufacturers_id = '96'