g_type_info_get_array_length

Obtain the array length of the type. The type tag must be a GI_TYPE_TAG_ARRAY or -1 will returned.