Question: The first pope to visit five continents visited how many continents in total?

full_context: Document 1: Pope Paul VI: Paul VI did away with much of the regal splendor of the papacy. He was the last pope to date to be crowned; his successor Pope John Paul I replaced the Papal Coronation (which Paul had already substantially modified, but which he left mandatory in his 1975 apostolic constitution Romano Pontifici Eligendo) with a Papal Inauguration. Paul VI donated his own Papal Tiara, a gift from his former Archdiocese of Milan, to the Basilica of the National Shrine of the Immaculate Conception in Washington, DC (where it is on permanent display in the Crypt) as a gift to American Catholics.
Document 2: Pope Paul VI: Pope Paul VI (Latin: Paulus VI; Italian: Paolo VI), born Giovanni Battista Enrico Antonio Maria Montini (Italian pronunciation: [dʒioˈvani baˈtista enˈriko anˈtonjo marˈija monˈtini]; 26 September 1897 – 6 August 1978), reigned as Pope from 21 June 1963 to his death in 1978. Succeeding Pope John XXIII, he continued the Second Vatican Council which he closed in 1965, implementing its numerous reforms, and fostered improved ecumenical relations with Eastern Orthodox and Protestants, which resulted in many historic meetings and agreements. Montini served in the Vatican's Secretariat of State from 1922 to 1954. While in the Secretariat of State, Montini and Domenico Tardini were considered as the closest and most influential colleagues of Pope Pius XII, who in 1954 named him Archbishop of Milan, the largest Italian diocese. Montini automatically became the Secretary of the Italian Bishops Conference. John XXIII elevated him to the College of Cardinals in 1958, and after the death of John XXIII, Montini was considered one of his most likely successors.
Document 3: Pope Paul VI: The next three popes, including Pope Emeritus Benedict XVI, were created cardinals by him. His immediate successor, Albino Luciani, who took the name John Paul I, was created a cardinal in the consistory of 5 March 1973. Karol Wojtyła was created a cardinal in the consistory of 26 June 1967. Joseph Ratzinger was created a cardinal in the small four-appointment consistory of 27 June 1977, which also included Bernardin Gantin from Benin, Africa. This became the last of Paul VI's consistories before his death in August 1978. Pope Paul was asked towards the end of his papacy whether he would retire at age 80, he replied "Kings can abdicate, Popes cannot."[citation needed]
Document 4: Pope Paul VI: In December 2013, Vatican officials approved a supposed miracle that was attributed to the intercession of the late pontiff which was the curing of an unborn child in California, U.S.A in the 1990s. It was expected that Pope Francis would approve the miracle in the near future, thus, warranting the beatification of the late pontiff. In February 2014, it was reported that the consulting Vatican theologians to the Congregation for the Causes of Saints recognized the miracle attributed to the late pontiff.
Document 5: Pope Paul VI: After his election as Bishop of Rome, Paul VI first met with the priests in his new dioceses. He told them that in Milan he started a dialogue with the modern world and asked them to seek contact with all people from all walks of life. Six days after his election he announced that he would continue Vatican II and convened the opening to take place on 29 September 1963. In a radio address to the world, Paul VI recalled the uniqueness of his predecessors, the strength of Pius XI, the wisdom and intelligence of Pius XII and the love of John XXIII. As "his pontifical goals" he mentioned the continuation and completion of Vatican II, the reform of the Canon Law and improved social peace and justice in the world. The Unity of Christianity would be central to his activities.
Document 6: Pope Paul VI: The only foreign diplomatic experience Montini underwent was his time in the nunciature in Warsaw, Poland in 1923. Like Achille Ratti before him,[a] he felt confronted with the huge problem, not limited to Poland, of excessive nationalism: "This form of nationalism treats foreigners as enemies, especially foreigners with whom one has common frontiers. Then one seeks the expansion of one's own country at the expense of the immediate neighbours. People grow up with a feeling of being hemmed in. Peace becomes a transient compromise between wars." When he was recalled to Rome he was happy to go, because "this concludes this episode of my life, which has provided useful, though not always joyful, experiences."
Document 7: Pope Paul VI: Sacerdotalis caelibatus (Latin for "Of the celibate priesthood"), promulgated on 24 June 1967, defends the Catholic Church's tradition of priestly celibacy in the West. This encyclical was written in the wake of Vatican II, when the Catholic Church was questioning and revising many long-held practices. Priestly celibacy is considered a discipline rather than dogma, and some had expected that it might be relaxed. In response to these questions, the Pope reaffirms the discipline as a long-held practice with special importance in the Catholic Church. The encyclical Sacerdotalis caelibatus from 24 June 1967, confirms the traditional Church teaching, that celibacy is an ideal state and continues to be mandatory for Roman Catholic priests. Celibacy symbolizes the reality of the kingdom of God amid modern society. The priestly celibacy is closely linked to the sacramental priesthood. However, during his pontificate Paul VI was considered generous in permitting bishops to grant laicization of priests who wanted to leave the sacerdotal state, a position which was drastically reversed by John Paul II in 1980 and cemented in the 1983 Canon Law that only the pope can in exceptional circumstances grant laicization.
Document 8: Pope Paul VI: Paul VI supported the new-found harmony and cooperation with Protestants on so many levels. When Cardinal Augustin Bea went to see him for permission for a joint Catholic-Protestant translation of the Bible with Protestant Bible societies, the pope walked towards him and exclaimed, "as far as the cooperation with Bible societies is concerned, I am totally in favour." He issued a formal approval on Pentecost 1967, the feast on which the Holy Spirit descended on the Christians, overcoming all linguistic difficulties, according to Christian tradition.
Document 9: Pope Paul VI: Paul VI revolutionized papal elections by ordering that only cardinals below the age of eighty might participate in future conclaves. In Ecclesiae Sanctae, his motu proprio of 6 August 1966, he further invited all bishops to offer their retirement to the pontiff no later than the completion of their 75th year of age. This requirement was extended to all Cardinals of the Catholic Church on 21 November 1970. With these two stipulations, the Pope filled several positions with younger bishops and cardinals, and further internationalized the Roman Curia in light of several resignations due to age.
Document 10: Cardinal (Catholic Church): While the cardinalate has long been expanded beyond the Roman pastoral clergy and Roman Curia, every cardinal priest has a titular church in Rome, though they may be bishops or archbishops elsewhere, just as cardinal bishops are given one of the suburbicarian dioceses around Rome. Pope Paul VI abolished all administrative rights cardinals had with regard to their titular churches, though the cardinal's name and coat of arms are still posted in the church, and they are expected to celebrate mass and preach there if convenient when they are in Rome.
Document 11: Pope Paul VI: On basic Church teachings, the pope was unwavering. On the tenth anniversary of Humanae vitae, he reconfirmed this teaching. In his style and methodology, he was a disciple of Pius XII, whom he deeply revered. He suffered for the attacks on Pius XII for his alleged silences during the Holocaust. Pope Paul VI was less outstanding than his predecessors: he was not credited with an encyclopedic memory, nor a gift for languages, nor the brilliant writing style of Pius XII, nor did he have the charisma and outpouring love, sense of humor and human warmth of John XXIII. He took on himself the unfinished reform work of these two popes, bringing them diligently with great humility and common sense and without much fanfare to conclusion. In doing so, Paul VI saw himself following in the footsteps of the Apostle Paul, torn to several directions as Saint Paul, who said, "I am attracted to two sides at once, because the Cross always divides."
Document 12: Pope Paul VI: With the six consistories, Paul VI continued the internationalization policies started by Pius XII in 1946 and continued by John XXIII. In his 1976 consistory, five of twenty cardinals originated from Africa, one of them a son of a tribal chief with fifty wives. Several prominent Latin Americans like Eduardo Francisco Pironio of Argentina; Luis Aponte Martinez of Puerto Rico and Eugênio de Araújo Sales and Aloisio Lorscheider from Brazil were also elevated by him. There were voices within the Church at the time saying that the European period of the Church was coming to a close, a view shared by Britain's Cardinal Basil Hume. At the same time, the members of the College of Cardinals lost some of their previous influences, after Paul VI decreed, that not only cardinals but also bishops too may participate in committees of the Roman Curia. The age limit of eighty years imposed by the Pope, a numerical increase of Cardinals by almost 100%, and a reform of the regal vestments of the "Princes of the Church" further contributed to a service-oriented perception of Cardinals under his pontificate. The increased number of Cardinals from the Third World and the papal emphasis on related issues was nevertheless welcomed by many in Western Europe.
Document 13: Pope Paul VI: Paul VI did renounce many traditional symbols of the papacy and the Catholic Church; some of his changes to the papal dress were reversed by Pope Benedict XVI in the early 21st century. Refusing a Vatican army of colourful military uniforms from centuries, he got rid of them. He became the first pope to visit five continents. Paul VI systematically continued and completed the efforts of his predecessors, to turn the Euro-centric Church into a Church of the world, by integrating the bishops from all continents in its government and in the Synods which he convened. His 6 August 1967 motu proprio Pro Comperto Sane opened the Roman Curia to the bishops of the world. Until then, only Cardinals could be leading members of the Curia.
Document 14: Pope Paul VI: Pope Paul VI became the first pope to visit six continents, and was the most travelled pope in history to that time, earning the nickname "the Pilgrim Pope". With his travels he opened new avenues for the papacy, which were continued by his successors John Paul II and Benedict XVI. He travelled to the Holy Land in 1964, to the Eucharistic Congresses in Bombay, India and Bogotá, Colombia. In 1966, however, he was twice denied permission to visit Poland for the 1,000th anniversary of the baptism of Poland. In 1967, however, fifty years after the first apparition, he visited Fátima in Portugal. He undertook a pastoral visit to Africa in 1969. On 27 November 1970 he was the target of an assassination attempt at Manila International Airport in the Philippines. He was only lightly stabbed by the would-be assassin Benjamín Mendoza y Amor Flores, who was subdued by the pope's personal bodyguard and trip organizer, Msgr. Paul Marcinkus.
Document 15: Pope Paul VI: During his period in Milan, Montini was known as a progressive member of the Catholic hierarchy. Montini went new ways in pastoral care, which he reformed. He used his authority to ensure that the liturgical reforms of Pius XII were carried out at the local level and employed innovative methods to reach the people of Milan: Huge posters announced that 1,000 voices would speak to them from 10 to 24 November 1957. More than 500 priests and many bishops, cardinals and lay persons delivered 7,000 sermons in the period not only in churches but in factories, meeting halls, houses, courtyards, schools, offices, military barracks, hospitals, hotels and other places, where people meet. His goal was the re-introduction of faith to a city without much religion. "If only we can say Our Father and know what this means, then we would understand the Christian faith."
ground_truth: six
sub_queries: Who was the first pope to visit five continents? Answer: Paul VI
How many continents did Paul VI visit as pope? Answer: six