select count(*) as "count" from (select `documents`.`document_srl`, `documents`.`list_order` FROM `x 이 쿼리가 엄청 올라오는데 뭔지 잘 모르겠네요.