Query Run
SELECT pa_class AS `class`, COUNT(DISTINCT pa_page_id) AS `count` FROM... 5 years ago