parent_len — find the length of the parent portion of a pathname
int parent_len (
)
path
pathname of which to determine length