This will get the complete distribution of votes on questions, for all users.
Q&A about the site for operations research and analytics professionals, educators, and students
SELECT Score, Count(*) AS VoteCount FROM Posts WHERE PostTypeID = 2 GROUP BY PostTypeId, Score ORDER BY Score DESC