CREATE TABLE table_39254 ("Rank" FLOAT, "Town" TEXT, "Population" FLOAT, "Year" FLOAT, "Borough" TEXT, "Definition" TEXT)

Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178?
SELECT MIN("Rank") FROM table_39254 WHERE "Borough" = 'richmondshire' AND "Population" > '8,178'
SELECT MIN("Rank") FROM "table_39254" WHERE "Borough" = 'richmondshire' AND "Population" > '8,178'