Q&A for system and network administrators
select count(distinct posts.Id) from posthistory inner join posts on posts.id = posthistory.postid where posthistorytypeid= 16 and posts.posttypeid=1 and tags like '%<exception>%'