refactor: change type of count_ from int32_t to uint32_t