ADTree for counting - not implemented yet
ADTree template - not implemented yet