How many teams were there in the Ancient Greece Olympics?

They didn't have teams then. The athletes competed individually - not even 'representing' their town/city.