Automatic counting and packing line for car components