def get_line_indent_num(line_str: str) -> int:
    """
    Get the number of indents of the target line.

    Parameters
    ----------
    line_str : str
        String of target line.

    Returns
    -------
    line_indent_num : int
        Number of indents.
    """
    space_num: int = 0
    for line_char in line_str:
        if line_char != ' ':
            break
        space_num += 1
    line_indent_num: int = space_num // 4
    return line_indent_num