Question: What was the population (according to the 2010 census) of the town where the Old Gray County Courthouse is located?

Context paragraphs:
King George, Virginia: King George is a census-designated place (CDP) in and the county seat of King George County, Virginia, United States, sometimes referred to as King George Courthouse because it is the location of the King George County Courthouse.  The population as of the 2010 Census was 4,457.  The "Journal Press" is a local weekly newspaper published in King George and serving local areas.

Pampa, Texas: Pampa is a city in Gray County, Texas, United States.  The population was 17,994 as of the 2010 census.  Pampa is the county seat of Gray County and is the principal city of the Pampa Micropolitan Statistical Area, which includes both Gray and Roberts counties.

Banks County, Georgia: Banks County is a county located in the northeastern part of the U.S. state of Georgia.  As of the 2010 census, the population was 18,395.  The county seat is Homer.  The Old Banks County Courthouse is located in Homer and listed on the National Register of Historic Places.  A newer county courthouse was constructed in 1983.

Old Gray County Courthouse: The Old Gray County Courthouse is a brick building at 117 South Main Street, Cimarron, Kansas.  It was built as a department store in 1880 and leased to Gray County for use as a courthouse in January 1888.

Old McDonald County Courthouse: The Old McDonald County Courthouse is a National Register of Historic Places listed building located at 400 N. Main Street in Pineville, Missouri, the county seat of McDonald County, Missouri.  It is situated in the center of Pineville's town square and served as the county's courthouse from 1871 until 1978, when a new courthouse was constructed two blocks north of the square.  The structure underwent a significant restoration from 2010-2015 and is currently operated as a museum by the McDonald County Historical Society.  It is designed in the American Foursquare style and was featured in the 1939 film "Jesse James", which starred Tyrone Power as the titular outlaw and Henry Fonda as his brother Frank James.  It is one of three sites in the county on the National Register of Historic Places, which also includes the Powell Bridge in the rural community of Powell, Missouri.

Chesterfield, Virginia: Chesterfield Court House is an unincorporated community that is the county seat of Chesterfield County, Virginia, United States.  It was a census-designated place (CDP) at the 2000 census, at which time its population was 3,558.  It was not delineated as a CDP for the 2010 census.  The Chesterfield County Courthouse and Courthouse Square are listed in the National Register of Historic Places.

Gray County, Texas: Gray County is a county located in the U.S. state of Texas.  As of the 2010 census, its population was 22,535.  The county seat is Pampa.  The county was created in 1876 and later organized in 1902.  is named for Peter W. Gray, a Confederate lawyer and soldier in the American Civil War.

Grafton County, New Hampshire: Grafton County is a county located in the state of New Hampshire, in the United States.  As of the 2010 census, the population was 89,118.  Its county seat is North Haverhill, which is a village within the town of Haverhill.  Until 1972, the county courthouse and other offices were located in downtown Woodsville, a larger village within the town of Haverhill.

Battle of Cimarron: The Battle of Cimarron was a famous gunfight that occurred on January 12, 1889, during the Gray County War, between the people of Cimarron, Kansas, and a group of lawmen led by Bill Tilghman.  The gunfight, which lasted several hours and resulted in the death of at least one man and the wounding of seven others, began when Tilghman and his raiders attempted to take the county records from the Old Gray County Courthouse back to Ingalls.

Cimarron, Kansas: Cimarron is a city in and the county seat of Gray County, Kansas, United States.  As of the 2010 census, the city population was 2,184.

Supporting paragraphs: Old Gray County Courthouse Cimarron, Kansas
Answer: 2,184