Aggregation of endogenous information in large elections