How many gates does the Alhambra have?

There are seven gates in total. There are four exterior gates: the south-facing Puerta de los Siete Suelos and Puerta de la Justicia, and the north-facing Puerta de las Armas and Puerta del Arrabal; and three interior gates: the Puerta del Vino (opposite the Carlos V Palace), and Puerta de Hierro. There is also an additional gate (Puerta de los Carros) which was built later.