On a 3 phase system, how many legs are there at the entrance of the service panel?

On a 3 phase system, how many legs are there at the entrance of the service panel?