Compute length of the given path