Added GetImageCount in image table.