get_counts_per_taxon_per_d, intermediate