determine many pallets