Corrected the functionality of getNumSlides

getNumSlides would return 4 if there were 2 items in the carousel. Since we only like to know the actual amount of slides and not the clones.