GIRepository.union_info_get_size

Obtain the total size of the union.