function: count()
SELECT count(*) as cnt FROM td_products WHERE category_id IN AND publish_flag=1