How man autonomous communities dos Spain have?

Spain has 17 Autonomous Regions, and 2 Autonomous Cities.