def get_time_bins(max_time, min_time, time_delta):
    """
    Returns number of bins of size `time_delta` between `max_time` and `min_time`
    """
    return ((max_time - (max_time % time_delta)) - min_time) // time_delta