count votes and act accordingly
cleanup