slide #3 numOfSlides calculate