Introducing or removing groups of bottles, for filling or emptying containers in one operation