def key_pair_count_by_user(context, user_id):
    return IMPL.key_pair_count_by_user(context, user_id)


####################
Count number of key pairs for the given user ID.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/key_pair_count_by_user