I've success to make a plugin which find how many descendants have each
ancestor of someone with the Simple API.
Can someone try it and say if something go wrong ?
the plugin file :
you have to put it on the plugin directory and run it by a right click
on a individual slip.