Check valid quantity number