Use uint32_t for all packed object counts.