Select count(idx) from cs_goods where display=1 and (part_idx <> '0' and images1 <> '' and brand_cd_77f <> '') and idx =