#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1111
Task: \boxed{} 

</think>

Write a Python function that takes a list of episode titles and returns a dictionary mapping each title to the number of times it appears in the list.
Generated: 2026-02-12T20:40:26.770783
"""

def count_episode_titles(episode_titles):
    title_count = {}
    for title in episode_titles:
        if title in title_count:
            title_count[title] += 1
        else:
            title_count[title] = 1
    return title_count

if __name__ == '__main__':
    example_titles = ["The Pilot", "The Pilot", "The New Beginning", "The Pilot", "The New Beginning"]
    result = count_episode_titles(example_titles)
    print(result)