def get_count_value(obj):
    """
    Returns count of child objects from LLDB value.

    :param lldb.SBValue obj: LLDB value object.
    :return: Count of child objects from LLDB value.
    :rtype: int | None
    """
    if obj is None:
        return None
    if obj.GetValue() is None or obj.GetValueAsUnsigned() == 0:
        return 0
    return obj.GetNumChildren()
