select count(*) as mycount from index_products where match('@cached_attributes CATIN_565690') and storetype_id = 2