def null_count(df) -> int:
    """
    Get the total number of nulls in a dataframe

    :param df: the pandas DataFrame to inspect
    :returns: The total number of nulls as an int
    """
    return df.isna().sum().sum()