pub fn account<'a, I>(names: I) -> Accountingwhere I: IntoIterator<Item = (&'a str, usize)>,
2026-09-25: Total a list of (tensor_name, count) pairs by role.
(tensor_name, count)