def security_group_count_by_project(context, project_id):
    """Count number of security groups in a project."""
    return IMPL.security_group_count_by_project(context, project_id)
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.