Added count function that returns the number of slides