pub(crate) async fn get_active_scan_inventory_counts() -> Result<Value, String>Expand description
Per-category row counts for the header strip — library scope (one row per path), not the
current in-progress scan_id. See db::Database::active_scan_inventory_counts.