exclude internal nodes from the numberOfChildren count