invalid query: ++select count(*) from pages where parentid= and status=2++