How many electrons can a carbon atom share?

How many electrons can a carbon atom share?