Ben E. Keith interview question

Counting pallets example and answering how many items