def lfu_key_func(x):
    """
    Least Frequently Used key function.

    :param x: (:class:`~hazelcast.near_cache.DataRecord`)
    :return: (int), access hit count of x.
    """
    return x.access_hit
