Added rep count, some rep noise filtering