The government of Portuguese India started in 1505, six years after the discovery of the sea route to India by Vasco da Gama, with the nomination of the first Viceroy Francisco de Almeida, then settled at Kochi. Until 1752, the name "India" included all Portuguese possessions in the Indian Ocean, from southern Africa to Southeast Asia, governed - either by a Viceroy or Governor - from its headquarters, established in Goa since 1510. In 1752 Portuguese Mozambique got its own government and in 1844 the Portuguese Government of India stopped administering the territory of Portuguese Macau, Solor and Portuguese Timor, seeing itself thus confined to a reduced territorial entity in Malabar: Goa, Daman, Diu, Dadra and Nagar Haveli. Portuguese control ceased in the last two enclaves in 1954, and finally ceased in the remaining three pockets in 1961, when they were occupied by the Republic of India . This ended four and a half centuries of Portuguese rule in parts—thought tiny—of India. It may be noted that during the term of the monarchy, the title of the head of the Portuguese government in India ranged from "Governor" to "Viceroy". The title of viceroy would only be assigned to members of the nobility; It was formally terminated in 1774, although it has later been given sporadically to be decisively ended after 1835), as shown below.
Question: How many territories did the Portuguese Government of India control in Malabar?
Answer: 5