Clean up vote counting.