diversity_stats function

Produce a table of diversity statistics