Complex sentence: Initially, there were two gates in the wall, but the number increased to three in the 16th century, and under Sixtus V to five, and finally, during the 19th century to eight.
Split into simpler sentences: Initially, there were two gates in the wall. The number increased to three in the 16th century and under Sixtus V to five, and finally, during the 19th century to eight.