moving delegation counts to extra_data, so that listing of elections is always fast