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
    """
    # Passed None value.
    if obj is None:
        return None

    # Return 0 if object has no value.
    if obj.GetValue() is None or obj.GetValueAsUnsigned() == 0:
        return 0
    return obj.GetNumChildren()