As many as you like, within the constraints of your chosen numbering scheme.  For example, if you utilise a 3-digit numbering scheme, then you can have up to 1000 extensions.