getLength() actually returns the number of relationships in a path.

Closes issue #127