Q&A for people interested in the history and origins of science and mathematics
select count(*) from ( select u.id from posts p join users u on p.OwnerUserId = u.Id group by u.id having count(case when PostTypeId=1 then 1 end)>0 and count(case when PostTypeId=2 then 1 end)=0 )x