pub fn format_tool_call_counts(counts: &[(String, usize)]) -> StringExpand description
Format a “Tool Call Counts (this session)” section from per-tool invocation counts.
Input: counts — sorted slice of (tool_name, count) from TokenStats::tool_call_counts().
Output: a multi-line string. Returns empty string when counts is empty.
── Tool Call Counts (this session) ──
search_text: 12
get_file_context: 7
get_symbol: 3