instruction: Strunk & White / Copy Editor Progress. This query returns the number of edits you've made toward the Strunk & White or Copy Editor badge.
response: SELECT COUNT(*) FROM (SELECT PostId FROM PostHistory AS ph WHERE PostHistoryTypeId IN (4, 5) AND PostId NOT IN (SELECT p.Id FROM Posts AS p WHERE p.OwnerUserId = ph.UserId) AND UserId = @userid GROUP BY PostId) AS bar