pub fn count_query(filter: &str) -> StringExpand description
Turn a user’s list query into the one that produces the header counts.
CountWorkflowExecutions rejects ORDER BY, so it is stripped; any GROUP BY the user
wrote is replaced, because the header renders per-status counts and nothing else.