Initial code for histogram of image list.