Wikia:Wikiamobile-media-group-footer/qqq

Caption under a media-group/gallery, $1 contains the total amount of images/videos in the group