\left( \frac{\text{total valid poll}}{ \text{seats}+1 } \right) + 1; but more precisely =\text{nextIntegerOf} \left( \frac{\text{total valid poll} +1}{ \text{seats}+1 } \right).
Seats = total number of seats to be filled in the election.