MAINT: Fix iterator counter

Use .count() instead of the unidiomatic .sum() here.
1 file changed