The Rust backends depends on the split between shift-states and action-states,
but this is not the case for python which can mix all of these in a dictionary.
Thus instead of relying on shift-count and action-count, just check the whether
the target is an action-state or a shift-state.
The Rust backends depends on the split between shift-states and action-states, but this is not the case for python which can mix all of these in a dictionary.
Thus instead of relying on shift-count and action-count, just check the whether the target is an action-state or a shift-state.