Removed X of total x if gallery only has 1 image

Removed the text i.e. '1 of 5' on the gallery, if there is only 1 image
in the gallery