Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 13
            SELECT
            
                  count( DISTINCT `goods`.`id` ) as `count` 
		
            FROM
                `goods`
                  JOIN `brands`  ON `goods`.`brand_id` = `brands`.`id`
		  JOIN `categories_goods`  ON `categories_goods`.`goods` = `goods`.`id` AND `categories_goods`.`company` = "satec" 
		  LEFT JOIN `goods_favorites`  ON `goods_favorites`.`good_id` = `goods`.`id` AND `user_id` = "" 
		
            
            WHERE
                `goods`.`id` IN ()