There were three on their side, the other nine were upright...
There were three on their side, the other nine were upright with either one or both sets of wheels off the track.
There were three on their side, the other nine were upright with either one or both sets of wheels off the track.