Q&A for apps, scripts, and development with the Stack Exchange API
SELECT COUNT(*) AS [Total Upvotes], COUNT(*)*5 AS [Old Reputation], COUNT(*)*10 AS [New Reputation], COUNT(*)*5 AS [Reputation Gain] FROM Votes JOIN Posts ON Posts.Id = Votes.PostId WHERE Votes.VoteTypeId = 2 AND Posts.PostTypeId = 1 AND Posts.OwnerUserId = 7611062