Update readCount cleaning code