This should be `reps_all.count()` to do the count in the DB and not in Python.