number of inventories is var_int not uint32