Counter-terrorism police are involved in an investigation into a mass stabbing on a train from Yorkshire to London Kings Cross which left nine people suffering life-threatening injuries.