'Adds team_count to each topic.'

def to_representation(self, obj):

    data = super(BulkTeamCountTopicListSerializer, self).to_representation(obj)
    add_team_count(data, self.context['course_id'])
    return data
