Counts the number of edits you made to posts
Q&A for professional and enthusiast programmers
-- Editor Badges Progress
-- Counts the number of edits you made to posts
DECLARE @UserId int = ##UserId##
PostHistoryTypes pht ON ph.PostHistoryTypeId = pht.Id
(pht.Name = 'Edit Title'
pht.Name = 'Edit Body'
pht.Name = 'Edit Tags')
ph.UserId = @UserId