test_counts documentation improved