contestada

How does each state know what their total number of electoral votes will be? (What is
the equation?)