Added ammap data function and counters for related content tabs