You can retrieve general information from a drawing including identifying information and the number of objects that it contains.
There are types of information stored in a drawing that are not specific to objects within the drawing, but provide useful information to help you understand the behavior of the drawing, the settings of system variables, the the number of objects, descriptive information, and so on.
You can retrieve general information about the drawing file and its settings.
You can count objects within a drawing using the QSELECT command.