How many instances?

I am using instancing for my game now.
Is there any built-in way to know how many instances an actor has?

actor.node().getNumParents() will tell you how many parents a node has, which is very close to the concept of number of instances.

David