reps -> count to be more consistent with other implementations