Add arc line count support
Add direction class to resolve shortnames