The number of electoral votes each state receives is determined by

Athe size of the state population.
Bhow many counties are in the state.
Chow long the state has been part of the nation.
Dthe number of national representatives and senators.