

SELECT count(distinct p.products_id) AS total from scot_frlhuebsch__products p INNER JOIN scot_frlhuebsch__products_to_categories ptc ON (p.products_id = ptc.products_id AND ptc.categories_id IN ( 281 ) ) INNER JOIN scot_frlhuebsch__products_description pd ON (p.products_id = pd.products_id AND pd.language_id = '1' ) WHERE p.products_status = '1' ORDER BY ASC