size/quantity validation