pub fn push_count(
parts: &mut Vec<String>,
count: usize,
color: fn(&str) -> String,
label: &str,
)Expand description
Appends "{count} {label}" (styled with color) to parts when count
is nonzero. Collapses the repeated if count > 0 { parts.push(color(...)) } idiom used when building summary footers from several counters.