how is number of delegates for each state determined?