Q&A for SharePoint enthusiasts
SELECT COUNT(*) AS CommentCount FROM Comments JOIN Posts ON Comments.PostId = Posts.Id WHERE Posts.PostTypeId = 1;