question: Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178?
answer: SELECT MIN(rank) FROM table_name_16 WHERE borough = "richmondshire" AND population > 8 OFFSET 178
context: CREATE TABLE table_name_16 (rank INTEGER, borough VARCHAR, population VARCHAR)