I've been doing a bit of googling, and I've found the rail industry's safety report for last year here.
I'm no statistician, but it seems to me that over the past 10 years, the number of potentially higher risk train accidents (not sure what this is exactly, but it doesn't sound cuddly or wuddly) has more than halved, and level crossing incidents are now the single biggest cause of death on the railways.
On the Precursor indicator, level crossing misuse is now the single biggest factor, and has not improved over the past 10 years. I am assuming that the precursor indicator shows incidents that could have led to a serious accident, but didn't - like the woman with her pram on the level crossing!
Further down, it says:
"Members of the public
Eight of the 14 public fatalities not related to trespass or suicide occurred to pedestrians at level crossings.
Five involved road vehicle occupants who died in collisions with trains at level crossings; three of these fatalities occurred in a single accident, at Halkirk...."
That's 13 of the 14 public fatalities not related to suicide/trespass.