utility class to count variants assigned to shipments and remaining