Task: Question Answering
Input (English): Passage: Administratively, Portugal is divided into 308 municipalities (Portuguese: municípios or concelhos), which after a reform in 2013 are subdivided into 3,092 civil parishes (Portuguese: freguesia). Operationally, the municipality and civil parish, along with the national government, are the only legally identifiable local administrative units identified by the government of Portugal (for example, cities, towns or villages have no standing in law, although may be used as catchment for the defining services). For statistical purposes the Portuguese government also identifies NUTS, inter-municipal communities and informally, the district system, used until European integration (and being phased-out by the national government).[original research?] Continental Portugal is agglomerated into 18 districts, while the archipelagos of the Azores and Madeira are governed as autonomous regions; the largest units, established since 1976, are either mainland Portugal (Portuguese: Portugal Continental) and the autonomous regions of Portugal (Azores and Madeira). Question: How many municipalities is Portugal divided into?
Output (English): 308