pub(crate) fn count_content_paths<const MAX_DEPTH: usize, G>(
    graph: &G,
    leaf: NodeId
) -> Result<HashMap<[FilenameId; MAX_DEPTH], u64>>where
    G: SwhGraphWithProperties + SwhLabelledBackwardGraph,
    <G as SwhGraphWithProperties>::Maps: Maps,