Image count

Added a counter for the number of images found