@register.function
def get_compat_counts(addon):
 return CompatReport.get_counts(addon.guid)

@ register . function def get_compat_counts ( addon ) : return CompatReport . get_counts ( addon . guid )
get counts for add-on compatibility reports .