def get_teams_of_org(self):
        """
        Retrieves the number of teams of the organization.
        """
        print 'Getting teams.'
        counter = 0
        for team in self.org_retrieved.iter_teams():
            self.teams_json[team.id] = team.to_json()
            counter += 1
        return counter