SELECT COUNT(*) FROM cscart_categories WHERE category_id = 250 AND company_id = 1 AND storefront_id IN (0, 1)