Support GET_PATHS pathcount arg (default to 2).