Add path lengths to group-related queries, update docs a bit