Add count of leaf nodes