human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Official Name, Status, Area km 2, Population, Census Ranking
###Question: What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008?
gpt
SELECT COUNT Area km 2 FROM table WHERE Census Ranking = 1,871 of 5,008 AND Population > 1,172