SELECT count(*) as count FROM (SELECT category_id,id,last_time,zt,attr01,info_title,info_key,info_des,content,topping,hottags,recommend_state,up_time,clicks_num FROM handy_info where ( area_id=372 )) a WHERE a.category_id IN ( SELECT id FROM handy_category WHERE id = 45 OR find_in_set("45",fid_arr))