Extract most of the logic for displaying mini-counts on index into a helper