def get_name_length(name):
    """
    Returns the length of first name.

    Parameters:
    ------
    name: (str)
    the input name

    Returns:
    -------
    length of name: (float)

    """
    if name == name:
        return len(name)
    else:
        return 0