Minor: I'd call this `numberOfBoxes`, or even `numBoxes` – plural to indicate that it's referring to the count, not the number of a particular box.