Electricians doing phone work?
When you say 'lines', are you refering to Central Office (Dial Tone) lines or extensions/stations?
To get a rough guess of extensions, you'll need to do a print 'ALL'--
From main menu select:
MORE > PRINT > ALL
Arrow down to MAKE NEW FILE > ENTER
When promped for file name, type in ALL.AMS > ENTER
Note that this takes an extremely long time (several hours), so you may want to start it first thing in the morning and check back around coffee-break time.
When the operation is complete, you're screen will switch to a DOS ASCII screen display showing all the programming in the switch.
Towards the end of this file, you will find a listing of each telephone and the associated features/buttons for that particular set. The header for each telset will show the slot/port and, if a phone is plugged in, what type of set is installed (i.e.: ATL, MLX, etc.). The switch cannot tell if a single line analog port (T/R) is in use or not, for that you would probably have to put an ohm meter across the t&r pair and see if you read resistance or an open (though you might read an open, it might still be a modem for someone's laptop). For the short term, this should give you a rough idea of what you have.
The only sure-fire way is to document your jack locations, and trace back to the switch, very time consuming, to be sure, but if your going to be doing this for a while, you may want the information for future adds, moves and changes.
franke