SELECT count(id) as cnt FROM modx_catalog WHERE `brend` in (888) AND `cat` in (7) AND store=1 AND `store`=1