fix: calc upvotes and downvotes