def get_amount_episodes(episodes: str) -> int:
    """
    Takes in the animethemes syntax of episodes and returns it's amoutn
    """
    a = 0
    for ep in episodes.split(', '):
        if '-' in ep:
            start,end = ep.split('-')
            a += int(end)-int(start)
        else:
            a += int(ep)
    return a