removed NumInstances dependency
Merge pull request #153 from diagrams/numinstances

removed NumInstances dependency