def count_missing_rows(data_frame, col="any") -> int:
    """Count rows containing missing values in a Pandas DataFrame.

    Parameters
    ----------
    data_frame : Pandas DataFrame
        A Pandas DataFrame to count NA/NANs
    col : str
        The column to count NA/NANs from. If "any" is specified, considers
        any NA in any column as a hit.

    Returns
    -------
    int representing the number of missing values counted.
    """
    i = 0
    if col == "any":
        for index, row in data_frame.iterrows():
            if any(row.isna()) is True:
                i += 1
    else:
        for index, row in data_frame[col].iterrows():
            if any(row.isna()) is True:
                i += 1
    return i