Added a part counter for rejected parts to simplify the operation and save time. Help from the Fraser team.