Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Official Name | Status | Area km 2 | Population | Census Ranking |
| --- | --- | --- | --- | --- |
| Quispamsis | Town | 57.06 | 17886.0 | 231 of 5,008 |
| Rothesay | Town | 34.73 | 11947.0 | 336 of 5,008 |
| Grand Bay-Westfield | Town | 59.73 | 5117.0 | 693 of 5,008 |
| Sussex | Town | 9.03 | 4312.0 | 780 of 5,008 |
| Hampton | Town | 21.00 | 4292.0 | 782 of 5,008 |
| Sussex Corner | Village | 9.43 | 1495.0 | 1,609 of 5,008 |
Question:
What was the population for census ranking 782 of 5,008?
Answer:
4292.0