CREATE TABLE enroll (class_code VARCHAR(255)); CREATE TABLE department (dept_code VARCHAR(255), dept_name VARCHAR(255)); CREATE TABLE course (crs_code VARCHAR(255), dept_code VARCHAR(255)); CREATE TABLE CLASS (class_code VARCHAR(255), crs_code VARCHAR(255))
How many students are enrolled in the class taught by some professor from the accounting department?
    
SQL: SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting'