Question: What was the population of the hamlet as of 2010 census in which Nicholas Cosmo was arrested?
Context: Massapequa Park is a village and hamlet located within the town of Oyster Bay in Nassau County, New York, United States.  Areas south and east of the village borders are considered the hamlet of Massapequa Park because they are under the jurisdiction of the Town of Oyster Bay rather than the village.  The hamlet shares the same zip code, fire department and school district as the village.  The population was 17,008 at the 2010 census. Jericho is a hamlet and census-designated place (CDP) in Nassau County, New York on the North Shore of Long Island.  As of the United States 2010 Census, the CDP population was 13,567.  The area is served by the Jericho Union Free School District and the Syosset Central School District, the boundaries of which differ somewhat from those of the hamlet.  The boundaries of the Jericho Post Office vary from both the hamlet and the school district boundaries, notably the inclusion of a portion of Jericho in the Westbury zip code, and the inclusion of a portion of Syosset in the Jericho zip code.  Also, Jericho is located approximately 29 miles (47 km) east of Midtown Manhattan.  Direct service is available by driving west on the Long Island Expressway or one can take the Long Island Rail Road from nearby Hicksville or Syosset train station. Niverville is a semi-rural hamlet and census-designated place (CDP) in northern Columbia County, New York, United States.  The hamlet of Niverville is located in the town of Kinderhook, south of Kinderhook Lake.  The Niverville CDP includes the hamlet as well as all of the land surrounding Kinderhook Lake, extending east into the town of Chatham.  The population of the CDP was 1,662 at the 2010 census. Hicksville is a hamlet and census-designated place (CDP) located within the Town of Oyster Bay in Nassau County, New York, United States, on Long Island.  The population of the CDP was 41,547 at the 2010 census. North Bay Shore is an unincorporated neighborhood on Long Island in the Town of Islip in Suffolk County, New York, United States.  The area is a suburb of New York City.  The hamlet of "North Bay Shore" is within the northern part of the CDP of Bay Shore, New York.  The census-designated place (CDP) named "North Bay Shore" is north of, and adjacent to, the hamlet named North Bay Shore.  The CDP of North Bay Shore contains the hamlet of Pine Aire and part of the hamlet of Brentwood.  The population of the North Bay Shore CDP was 18,944 at the time of the 2010 census. Nicholas Cosmo (born 1971) is an American former businessman and white collar criminal.  He was arrested January 26, 2009 on charges of an estimated $370–413 million Ponzi scheme.  Cosmo conducted the scheme using his company Agape World Inc. in Hauppauge, New York, which claimed to make its profits via commercial bridge lending.  Authorities arrested him in Hicksville, New York. New City is a hamlet and census-designated place in the town of Clarkstown, Rockland County, New York, United States, part of the New York Metropolitan Area.  An affluent suburb of New York City, the hamlet is located 18 mi north of the city at its closest point, Riverdale, Bronx.  Within Rockland County, New City is located north of Bardonia, northeast of Nanuet, east of New Square and New Hempstead, south of Garnerville and Haverstraw village, and west, straight across Lake DeForest, of Congers.  New City's population was 33,559 at the 2010 census, making it the 14th most populous CDP/hamlet in the state of New York. La Fargeville is a hamlet (and census-designated place) in the town of Orleans in Jefferson County, New York, United States.  The population was 608 at the 2010 census.  The hamlet is named after John Frederick La Farge, one of the early proprietors of the town.The hamlet of La Fargeville was once a village, but dissolved its municipal corporation in 1922. East Massapequa is a hamlet and census-designated place (CDP) located within the Town of Oyster Bay in Nassau County, New York, in the New York City Metropolitan Area United States.  The population was 19,069 at the 2010 census.  The hamlet lies in New York's 3rd congressional district.  The most eastern third portion of East Massapequa (within the Amityville School District) was previously the hamlet of West Amityville and started utilizing a Massapequa mailing address in 1975.  Former NBA point guard A.J. Price grew up in East Massapequa and attended Amityville Memorial High School, as did rapper Posdnous from the legendary hip hop group De La Soul. Fort Covington Hamlet is a census-designated place (CDP) within the town of Fort Covington, Franklin County, New York, United States.  It consists of the hamlet of Fort Covington, as well as a large amount of rural land surrounding the hamlet, such that the CDP occupies about one half of the area within the town limits.  The population of the CDP was 1,308 at the 2010 census, out of a total town population of 1,676.
Answer: 41,547