Query Run
SELECT log_type, COUNT(*) FROM logging WHERE log_namespace = '2' GROUP BY log_type 3 years ago