simplify total train count