Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2017-07-17' AND OwnerUserId IN (189134, 366904) Group by OwnerUserId