def get_addon_count(name):
 return Addon.unfiltered.filter(name__localized_string=name).count()

def get_addon_count ( name ) : return Addon . unfiltered . filter ( name__localized_string = name ) . count ( )
return the number of addons with the given name .