Update tree counts when merging species