def security_group_rule_count_by_group(context, security_group_id):
    return IMPL.security_group_rule_count_by_group(context, security_group_id)


###################
Count rules in a given security group.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/security_group_rule_count_by_group