Calculate votes