Q&A for professional and enthusiast programmers
SELECT PostHistoryTypeId, count(*) FROM PostHistory GROUP BY PostHistoryTypeId;