This question is not how many mainlines, but how many locomotives. Each pwr-56 can support up to 4 amps (56 watts at 14vdc). Allow a 25% safety, let’s use 3 amps. I base my layout on the estimate that most HO locos will not exceed .5 amps. So you can run 6 locos on a single power supply. Work it from there for your layout.