Text this: Shortest paths in one-counter systems