Arranging cigarettes in layers each comprising a predetermined number