That's only NY City though. If we consider the trains in Buffalo/Utica/Syracuse/Rochester/Albany I think you'll find it way more grim compared to equivalent German cities than what you're describing.
I'm not sure how that's relevant though when just trying to compare travelling by rail in NY State to Germany; is the claimed problem with Amtrak that they have to cover more states than the German train system, and train system management doesn't scale directly causing rail to be worse in NY State than in Germany?