Agreed, for me it would be until a the opposing team touch the ball and break the sequence from the original kick.
I dont believe this would ever be more than 5 though.
Free kick taker touches the ball, second player dummies a shot and passes down the line, third player crosses, fourth player...