Display path length in UI
Use path length in tests