Add a CSS class indicating the number of columns in a gallery (see #7138)