get number of slideshow files from ENV