human
Solve the following python programming problem given the following code:
@overload(len)
def series_len(series):
assistant
#Here is the Python code you requested.

    """len(Series)
    """
    if isinstance(series, SeriesType):
        def len_impl(series):
            return len(series._values)
        return len_impl