(Good version) Corrected functionality of getNumSlides

getNumSlides now return the actual amount of slides when there are two slides and they get cloned to 4 slides.