In the wake of a deadly New York City train accident that left four people dead and more than 60 injured, commuters may be wondering how safe it is to travel by rail.