Dividing stacks seems to be doable only by dropping some items on the ground and dragging them to the correct slot. It makes dividing dangerous in public places, where someone can steal the items while they're on the ground, or piggies eat some of them. It also makes dividing stacks in Hell completely impossible. I wish the action of moving items from one slot to another also had the "how many" option.