def num_days(s):
    """
    Return number of days in 's'

    Args:
        s(:obj:`pandas.Series`): The data to be checked for number of days.

    Returns:
        :obj:`int`: Number of days in the data
    """
    n_days = len(s.resample("D"))

    return n_days