Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Products WHERE product_name = "South"
Feedback: Replace products table and product name with department stores table and department store chain id of department store chain table respectively .
Output (English): SELECT count(*) FROM department_stores AS T1 JOIN department_store_chain AS T2 ON T1.dept_store_chain_id  =  T2.dept_store_chain_id WHERE T2.dept_store_chain_name  =  "South"