Rather than `int`, APIs that take or return sizes and counts should use `size_t` for consistency with C.
Rather than
int, APIs that take or return sizes and counts should usesize_tfor consistency with C.