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