Converts a list to a counting text.
Example: 1, 2, 3 -> '3'
1, 2, 3
static String toCountingText(Iterable? iterable) { return iterable != null && iterable.isNotEmpty ? "${iterable.length}" : "0"; }