def get_frequency(every):
    """Get frequency value from one every type value:

    >>> get_frequency('3.day')
    3

    :param every: One every type value.
    """
    return int(every[:every.find('.')])