I think three might be the limit.
I know the baggage tag printers couldn't handle more than three connecting sectors--after that they have to tag bags by hand.
(Not that the one necessarily impedes the other--I've had agents issue as many as five boarding passes to me because that's what the computer has produced.