If the item you are placing in the barrel doesn't stack in your inventory, such as pickaxes, then 1 item counts as a stack, to the barrel. To add more, to that one barrel, you need the extradimensional upgrade to put anymore in.
It was diamonds I tried to stack, But for some reason it works now. But it seems like the router jams sometimes and just keep trying to send the items away