This particular line prints the number of images in each call to the directive:
https://github.com/sphinx-extensions2/sphinx-subfigure/blob/main/src/sphinx_subfigure/main.py#L93
This pops up when building my Sphinx project, where seemingly random numbers pop up during the build process. Is this intentional?