pub fn count_session_dirs(parent: &Path) -> usize
Count directory entries under parent (excluding symlinks, files, and the latest symlink target). Used for end-of-run keep-cap forecasting.
parent
latest