instruction: Is there a SEDE query to find number of up votes received?. http://meta.stackexchange.com/questions/264094/is-there-a-sede-query-to-find-number-of-up-votes-received/264095#264095
response: SELECT COUNT(*) AS "number_of_upvotes" FROM Votes AS v INNER JOIN Posts AS p ON p.Id = v.PostId WHERE v.VoteTypeId = 2 AND p.OwnerUserId = '##userid:int##'