remove return of part_count parameter because it is not useful