Question: What was the population of the hamlet as of 2010 census in which Nicholas Cosmo was arrested?
Sentence (from "Hicksville, New York"): 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.
Relevant evidence: Yes