correcting num_pledges endpoint