added min_counts to tables