Question: what was the population of the town where the Greek Revival Church on Maine State Route 231 is located in 2010?

Context paragraphs:
Maine State Route 231: State Route 231 (abbreviated SR 231) is a 11.51 mi state highway located in Cumberland County in southeastern Maine.  Its southern terminus is at State Route 115 in North Yarmouth.  Its northern terminus is at U.S. Route 202, State Route 4 and State Route 100 in New Gloucester.

Alabama State Route 605: State Route 605 (SR 605) is a 23.420 mi state highway in Houston and Dale counties in the southeastern part of the U.S. state of Alabama.  The southern terminus of the highway is at an intersection with U.S. Route 231 (US 231) south of Madrid.  The northern terminus of the route is at another intersection with US 231 in Midland City.

Universalist Meeting House: The Universalist Meeting House is a historic church on Maine State Route 231 in the Intervale area of New Gloucester, Maine.  Built in 1839, it is a fine example of a Greek Revival church in a rural context.  It was listed on the National Register of Historic Places in 1988.

First Baptist Church (Sedgwick, Maine): The First Baptist Church is a historic church building on High Street, off Maine State Route 172 in Sedgwick, Maine.  It was designed in Greek Revival style by architect Benjamin S. Deane, based on published drawings by Asher Benjamin, and built in 1837 for a congregation founded in 1805.  It is one of coastal Maine's finest Greek Revival churches, and was listed on the National Register of Historic Places in 1973.

Rumford Point Congregational Church: The Rumford Point Congregational Church is an historic church at the State Route 5 and U.S. Route 2 junction in Rumford, Maine.  Built in 1865, the Greek Revival church building is notable as one of a very small number of 19th-century churches in Maine with original "Trompe-l'œil" artwork on its walls and ceilings.  It was listed on the National Register of Historic Places in 1985.

Jalan Sungai Lembing: Jalan Sungai Lembing, Federal Route 231 (formerly Pahang State Route C4), is a major highway in Kuantan, Pahang, Malaysia.  It is also a main route to East Coast Expressway via Kuantan Interchange.  The Kilometre Zero of the Federal Route 231 starts at Kuantan.

New Gloucester, Maine: New Gloucester is a town in Cumberland County, Maine, in the United States.  It is home to the Sabbathday Lake Shaker Village, the last active Shaker village in the U.S.  The town's population was 5,542 at the 2010 census.

New York State Route 231: New York State Route 231 (NY 231) is a north–south state highway located in Suffolk County, New York, in the United States.  The route extends for 9.05 mi from a partial interchange with NY 27A in Babylon to an interchange with the Northern State Parkway in Dix Hills.  The southernmost 2 mi of NY 231 is a limited-access highway known as the Babylon–Northport Expressway; the remainder of NY 231 is known as Deer Park Avenue.

Alabama State Route 53: State Route 53 (SR 53) is a 345.287 mi state highway in the U.S. state of Alabama.  The majority, between Dothan and Huntsville, is signed as U.S. Route 231 (US 231), but the two ends – south to Florida and north to I-65/US 31 near Tennessee – are independent.  In those areas, US 231 uses SR 1, sharing the route with US 431 north of Huntsville, where it is referred to as Memorial Parkway.

Carrabasset Inn: The Carrabasset Inn is a historic house at the northwest corner of the junction of Union Street (Maine State Route 234) and River Road (Maine State Route 8/U.S. Route 201A) in North Solon, Maine.  Built as a private residence c. 1850, the house was altered significantly for use as a hotel after a fire devastated North Solon's business district, and served in that role as the village's only hotel into the 1940s.  It now exhibits an architecturally distinctive blend of Greek Revival, Colonial Revival, and Craftsman styling.  It was listed on the National Register of Historic Places in 2000.  It is now a private residence.

Supporting paragraphs: Universalist Meeting House New Gloucester, Maine
Answer: 5,542