Updated the model-free num_instances() method to the new relax design.
Authored by: bugman 2008-04-15
Parent: [r5729]
Child: [r5731]