Q&A for those using, extending or developing Emacs
select count(*) from (Posts join PostTypes on Posts.PostTypeId = PostTypes.Id) where PostTypes.Name = 'Question'