Video (VID-1458): Lightbox - added getTotalImages function in helper class