avl: add a counter for when you allocate or free a stree