change party counting to match front-end