Question: What country sent the most legal immigrants to Gotham's filming location from the region in which The Crimson Pirate is located?

full_context: Document 1: New York City: Ecuador, Colombia, Guyana, Peru, and Brazil were the top source countries from South America for legal immigrants to the New York City region in 2013; the Dominican Republic, Jamaica, Haiti, and Trinidad and Tobago in the Caribbean; Egypt, Ghana, and Nigeria from Africa; and El Salvador, Honduras, and Guatemala in Central America. Amidst a resurgence of Puerto Rican migration to New York City, this population had increased to approximately 1.3 million in the metropolitan area as of 2013.
Document 2: Dominican Republic: The Dominican Republic (Spanish: República Dominicana (reˈpuβliˌka ðoˌminiˈkana)) is a country located in the island of Hispaniola, in the Greater Antilles archipelago of the Caribbean region. It occupies the eastern five - eighths of the island, which it shares with the nation of Haiti, making Hispaniola one of two Caribbean islands, along with Saint Martin, that are shared by two countries. The Dominican Republic is the second - largest Caribbean nation by area (after Cuba) at 48,445 square kilometers (18,705 sq mi), and third by population with approximately 10 million people, of which approximately three million live in the metropolitan area of Santo Domingo, the capital city.
Document 3: Gotham (TV series): In February 2014, it was reported that production would begin in New York City in March. Filming for the first season finished on March 24, 2015.
Document 4: New York City: Approximately 37% of the city's population is foreign born. In New York, no single country or region of origin dominates. The ten largest sources of foreign-born individuals in the city as of 2011 were the Dominican Republic, China, Mexico, Guyana, Jamaica, Ecuador, Haiti, India, Russia, and Trinidad and Tobago, while the Bangladeshi immigrant population has since become one of the fastest growing in the city, counting over 74,000 by 2013.
Document 5: Assassin's Creed IV: Black Flag: The plot is set in a fictional history of real world events and follows the centuries - old struggle between the Assassins, who fight for peace with free will, and the Templars, who desire peace through control. The framing story is set in the 21st century and describes the player as an Abstergo agent. The main story is set in the 18th century Caribbean during the Golden Age of Piracy, and follows notorious Welsh pirate Edward Kenway, grandfather and father of Assassin's Creed III protagonist and antagonist Ratonhnhaké: ton and Haytham Kenway respectively, who stumbles upon the Assassin / Templar conflict. The attempted establishment of a Republic of Pirates utopia (free from either British or Spanish rule) is a significant plot element.
Document 6: List of Caribbean islands by area: Rank Island Area (km2) Area (sq mi) Country or Countries Cuba 105,806 40,852 Cuba Hispaniola 76,479 29,529 Haiti and Dominican Republic Jamaica 11,188 4320 Jamaica Puerto Rico 8,896 3435 Puerto Rico 5 Trinidad 4,827 1864 Trinidad and Tobago 6 North Andros Island 3,439 1328 Bahamas 7 Isla de la Juventud 2,237 864 Cuba 8 Great Inagua Island 1,543 596 Bahamas 9 South Andros Island 1,447 559 Bahamas 10 Grand Bahama Island 1,373 530 Bahamas 11 Great Abaco Island 1,144 442 Bahamas 12 Martinique 1,128 436 Martinique 13 Isla Margarita 1,020 394 Venezuela
Document 7: Mexico City: On the other hand, Mexico City is also home to large communities of expatriates and immigrants, most notably from the rest of North America (U.S. and Canada), from South America (mainly from Argentina and Colombia, but also from Brazil, Chile, Uruguay and Venezuela), from Central America and the Caribbean (mainly from Cuba, Guatemala, El Salvador, Haiti and Honduras); from Europe (mainly from Spain, Germany and Switzerland, but also from Czech Republic, Hungary, France, Italy, Ireland, the Netherlands, Poland and Romania), from the Middle East (mainly from Egypt, Lebanon and Syria); and recently from Asia-Pacific (mainly from China and South Korea). Historically since the era of New Spain, many Filipinos settled in the city and have become integrated in Mexican society. While no official figures have been reported, population estimates of each of these communities are quite significant.
Document 8: Pirates of the Caribbean: On Stranger Tides: Jack refuses the offer and escapes. He meets up with his father, Captain Teague, who warns Jack about the Fountain's rituals. Jack learns someone is impersonating him to recruit a crew to find the Fountain. The impostor is Angelica, Jack's former lover, and the daughter of the ruthless pirate Blackbeard, who practices voodoo magic and wields the mythical ``Sword of Triton ''that controls his ship, the Queen Anne's Revenge. While Jack is shanghaied aboard Blackbeard's ship, Gibbs escapes execution by memorizing and destroying Jack's map showing the Fountain's location, forcing Barbossa to take him along.
Document 9: Dark (TV series): In February 2016, Netflix greenlit the series for a first season consisting of 10 episodes. It was revealed that each episode would be an hour long. Principal photography started on October 18, 2016, in and around Berlin and ended in March 2017. The series was filmed in 4K (Ultra HD) resolution.
Document 10: New York City: New York is a prominent location for the American entertainment industry, with many films, television series, books, and other media being set there. As of 2012, New York City was the second largest center for filmmaking and television production in the United States, producing about 200 feature films annually, employing 130,000 individuals, and generating an estimated $7.1 billion in direct expenditures, and by volume, New York is the world leader in independent film production; one-third of all American independent films are produced in New York City. The Association of Independent Commercial Producers is also based in New York. In the first five months of 2014 alone, location filming for television pilots in New York City exceeded the record production levels for all of 2013, with New York surpassing Los Angeles as the top North American city for the same distinction during the 2013/2014 cycle.
Document 11: El Cimarrón (film): The film El Cimarrón follows the lives of two African slaves brought to Puerto Rico during the era of slavery in the 19th Century. It is based on the life of Marcos Xiorro who conspired and planned a slave revolt in 1821.
Document 12: Degrassi: Next Class (season 4): This season along with season three were renewed in April 2016. Production on the season officially began a month prior when casting calls for two new leads were released. Filming commenced in May 2016 and finished in August of the same year. The season premiered on July 3, 2017 on Family Channel's' F2N 'teen block, and streamed internationally on Netflix on July 7, 2017. On F2N, it will run for two weeks and use the telenovela format. Ahead of the premiere on F2N, Family Channel released all 10 episodes on June 30, 2017, on the Family Channel App at midnight.
Document 13: The Crimson Pirate: "The Crimson Pirate" is set late in the 18th century, on the fictional Caribbean islands of San Pero and Cobra, where a rebellion on Cobra is underway by the mysterious "El Libre". Pirate Captain Vallo captures the King's ship carrying His Majesty's envoy. Baron Gruda plans on crushing the rebellion on Cobra and toward that end makes Vallo a surprising offer. If accepted, it would make a sizeable profit for the Captain and his buccaneer crew.
Document 14: Geography of Puerto Rico: The geography of Puerto Rico consists of an archipelago located between the Caribbean Sea and the North Atlantic Ocean, east of the Dominican Republic and west of the Virgin Islands. The main island of Puerto Rico is the smallest and most eastern of the Greater Antilles. With an area of 3,515 square miles (9,104 km), it is the third largest island in the United States and the 82nd largest island in the world. Various smaller islands and cays, including Vieques, Culebra, Mona, Desecheo, and Caja de Muertos comprise the remainder of the archipelago with only Culebra and Vieques being inhabited year - round. Mona is uninhabited through large parts of the year except for employees of the Puerto Rico Department of Natural Resources.
Document 15: New York City: The wider New York City metropolitan area, with over 20 million people, about 50% greater than the second-place Los Angeles metropolitan area in the United States, is also ethnically diverse. The New York region continues to be by far the leading metropolitan gateway for legal immigrants admitted into the United States, substantially exceeding the combined totals of Los Angeles and Miami, the next most popular gateway regions. It is home to the largest Jewish as well as Israeli communities outside Israel, with the Jewish population in the region numbering over 1.5 million in 2012 and including many diverse Jewish sects from around the Middle East and Eastern Europe. The metropolitan area is also home to 20% of the nation's Indian Americans and at least 20 Little India enclaves, as well as 15% of all Korean Americans and four Koreatowns; the largest Asian Indian population in the Western Hemisphere; the largest Russian American, Italian American, and African American populations; the largest Dominican American, Puerto Rican American, and South American and second-largest overall Hispanic population in the United States, numbering 4.8 million; and includes at least 6 established Chinatowns within New York City alone, with the urban agglomeration comprising a population of 779,269 overseas Chinese as of 2013 Census estimates, the largest outside of Asia.
ground_truth: 18,705
sub_queries: Which place is The Crimson Pirate in? Answer: Caribbean
where is the tv show gotham filmed at Answer: in New York City
What nation provided the most legal immigrants to in New York City in the #1 ? Answer: the Dominican Republic
what is the size of the Dominican Republic in square miles Answer: 18,705