Showing number of available gallery images on product page gallery

I’m trying to rebuild this gallery display for my shop. Instead of showing the full gallery, the current picture ID/Position is shown.

Here’s what I currently got: ??? / {{product.images.size}}

While the overall number of images is showing correctly I couldn’t yet figure out how to get the id/position of the image currently shown.