minor changes
Count slides.