# Count Trees Cleanup

**URL:** <https://community.rootsmagic.com/t/count-trees-cleanup/16647>\
**Category:** RootsMagic\
**Tags:** question\
**Created:** [November 20, 2026, 8:51pm UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647 "2026-11-20T20:51:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlmuntz1](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@dlmuntz1](https://community.rootsmagic.com/u/dlmuntz1)\
**Post date:** [November 20, 2026, 8:51pm UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/1 "2026-11-20T20:51:13Z")

</div>

Hello,

I randomly ran this tool today and was surprised to find a number of “trees” in my database, all containing one person except for my primary tree at the top of the list. I’m not sure how I managed to create these one-person trees, but I would like to clean this up. I think I can probably figure out where they should go in my primary tree based on their record number, but I’m not sure how to properly connect them. I tried adding the known parents to that person, but once I did, that person did not appear in the list of children for those parents. When I ran the Count Trees tool again; however, the count in my primary tree increased by one and that person was no longer in the list of trees. That would seem to suggest it was fixed. What am I missing? Also, how is this likely to have occurred in the first place? Just adding someone and forgetting to properly link them to parents or a child? Normally I would just click on “Add Child” or “Add Father/Mother” to add someone which should take care of the linking. Very confused at this point. Any help would be appreciated.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/e/e96facd4724e2722a6b5ff978255498fe6e93909.png)

---

<div class="post-metadata">

**Author:** ![RRF](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@RRF](https://community.rootsmagic.com/u/RRF)\
**Post date:** [November 20, 2026, 9:24pm UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/2 "2026-11-20T21:24:55Z")

</div>

Funny I just ran it too and have the same issue. I have no clue.

My wild guess is that in my early genealogy days I pulled in someone’s tree and it “infected” my tree or somehow, I did something crazy with TreeShare, because some of my “onesies” have citations which are from Ancestry.

Thanks for the new project! 🤣

---

<div class="post-metadata">

**Author:** ![kevync1985](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@kevync1985](https://community.rootsmagic.com/u/kevync1985)\
**Post date:** [November 21, 2026, 12:33am UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/3 "2026-11-21T00:33:18Z")

</div>

The Count Trees can happen a variety of reasons

I would strongly recommend to NOT delete anyone for at least several mth,

The can occur for many reasons:

In **RootsMagic** , **Count Trees** (found under **People \> Tools \> Count trees** or via the Command Palette) scans your database and groups people into connected networks—meaning anyone linked by parent–child relationships or marriage/spousal links.

Whenever a connection is broken, added, or bypassed, the number of trees or the headcount per tree can change. Common reasons this happens include:

- **Associations:** Linking two people via an **Association** (such as a witness, godparent, neighbor, or wedding party member) does **not** merge their family trees into a single connected tree. The associated person or their separate family group will still show up as its own tree in **Count Trees**.

- **Removed or Unlinked Relationships:** Unlinking a child from parents, removing a spouse/marriage link, or deleting a relationship line can split a single tree into two (or more) separate trees if that link was the only bridge between those groups.

- **Deleting People (Bridge Individuals):** Deleting someone who connected two branches—such as a spouse who tied an in-law line to your main tree, or a child connecting a parent to descendants—can strand the disconnected side as a separate tree or leave behind single-person (“count of 1”) entries.

- **Adding Unlinked / Standalone Individuals:** Creating a new person without immediately attaching parents, children, or a spouse creates a standalone tree with a count of `1`.

- **GEDCOM Imports or Partial Merges:** Importing a GEDCOM file or bringing in outside research branches that haven’t yet been linked to your main line adds extra trees to the count. Conversely, merging duplicate people or connecting two previously separate branches reduces the total number of trees.

- **DNA Matches Without Known Pedigree Links:** Adding DNA matches or suspected relatives to your database before confirming how they connect to your main tree will leave them in separate trees until a relationship path is established.

- **Research Clusters / “Fan” or “Cluster” Trees:** Genealogists often intentionally keep collateral lines, same-surname clusters, or neighbors from a specific town in the same database while waiting to find a common ancestor—each disconnected cluster counts as its own tree until linked.

- **Changing the “Starting Person” Shown for a Tree:** RootsMagic labels each tree using the person with the **lowest record number (RIN)** in that connected group. If you merge trees, delete that person, or add an earlier-numbered record to that group, the representative name listed for that tree can change even if the tree itself wasn’t broken.

### Quick Tip When Reviewing Count Trees

- **Count Trees vs. Kinship:**  **Count Trees** only checks whether people are connected by parent–child or spouse links—not whether they are blood relatives. For example, a former spouse of a cousin’s spouse can stay inside the same tree count.

- **Back up before cleanup:** If you spot single-person or unexpected trees and plan to delete people, always make a backup first so you don’t accidentally remove records that were holding a branch together or had a specific research purpose.

* * *

* * *

* * *

What I would suggest if you use Family Search

“Jump to”

View person then View Relationship

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/4/41dd9c1c05129c79f2a0b3d530515cc222290534.png)

it will tell you how Family Search believe you are related (Based on Global Tree)  
I will also show you the path of how.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/b/b7f2af27d24ef78754960e8f561f62f4c9a0b85b.png)

you can review an decide on if it is reasonably accurate or not. Then you can often fix missing people etc

---

<div class="post-metadata">

**Author:** ![thejerrybryan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.rootsmagic.com/thejerrybryan/32/404_2.png) [@thejerrybryan](https://community.rootsmagic.com/u/thejerrybryan)\
**Post date:** [November 21, 2026, 1:49am UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/4 "2026-11-21T01:49:10Z")

</div>

> [@dlmuntz1](#):
>
> I tried adding the known parents to that person, but once I did, that person did not appear in the list of children for those parents.

I don’t mean to make light of that experience, but on its face its the sort of thing that sounds impossible. If you added the parents, then all should have been well. But in your case it wasn’t, and I think I understand why.

I’m going to assume that that when you added parents you added people who already existed in the database rather than adding the parents a second time as new people. If you added the parents a second time as new people, then the parents obviously would have been duplicated. But there is no indication in your description that the parents were duplicated. Rather, they became the parents in two different families. One of the families was included the original children. The other of the families included only the additional child.

The tricky part is that in RM you really can’t add a person as a child of a father or as a child of a mother or as the father of a child or as the mother of a child. The user interface looks for all the world like that’s what you are doing. And it sound totally bonkers that a genealogy program can’t do such a routine and simple operation. But it’s not just RM. No genealogy software in the world can really do those things because that is not the data model. Genealogy software can make it look like that is what is happening, but that is not really what is happening.

What is happening is that the data model used by essentially all software as well as GEDCOM has things called families. That sounds simply enough. The software created a family, and then a person can be linked to a family as a father or as a mother or as a child. That may sound like a distinction without a difference, but actually it’s a huge difference. A person cannot become the child of a father or the child of a mother. A person cannot become the father of a child or the mother of a child. A person can only be given a family role, and the possible family roles are father, mother, or child. Whether that makes any sense or not (and I think it does not), that is actually the way it works behind the scenes.

So what probably happened is that you started with the child and added an existing person as the father. That is not something that RM can actually do, because that’s not the data model used by all of genealogy. Instead, RM created a new family. Within that new family, it added child’s father as the father of the new family and it added the child as the child of the new family. It’s almost like the father was married twice, and this new family was the father of his second family. And at this stage of the process, the new family had someone in the father role and someone in the child role, and it didn’t have anyone in the mother role yet. So still working from the child, you added an existing person in the mother, and this new family was now complete from the point of view of RM. It had someone with the father role, someone with the mother role, and someone with the child role.

But this was a new family, and for the father and mother it was a second family, even though they were both the same person. The new family had the new child and didn’t have the existing children. The existing family had the existing children and didn’t have the new child. I keep repeating that I think this is a terrible data model. But it is the only data model that exists, and therefore RM pretty much has to use it.

From the RM user interface, the best way around the problem is to start with the father and mother and the children who are already linked into the family properly. Then do an Add Child, and choose the person is is already in the database and who is the child who is not yet linked in properly. If you do it in that direction, RM will not create a new and second family for the parents, and you will have just one family from the get go.

There are two remaining questions. The first remaining question is how did your database end up with people unlinked to their parents in the first place? There have already been good answers to this question. My experience is that it usually happens because of imports where the data was malformed or incomplete in some sense in the data that was being imported. It could also happen because the data was imported piece-wise - like if you imported all the children except one at one time and then imported the other child at another time There are many scenarios that can cause the problem. It’s almost impossible to know after the fact which problem was created by which possible cause.

The second remaining question is how to fix this kind of problem after it happens. First of all, if you are simply working your Count Trees list, start with the Parents and add the Child rather than vice versa as I have already discussed. But if you already have the same parents as the heads of two families, start with the Parents and the existing children, and do an Add Child for the stray child. That temporarily will put the stray child into both families, one family with all the stray child’s siblings and the other family with just the stray child. Then, display the family with just the stray child, click the child, and do an Unlink From Parents. That will unlink the child from the family where the person as the only child, and leave the child in the family with all the siblings. Finally, you may need to unlink the Parents from each other if they are still in the family with no children and also in another family with all their children. Unlink them in the family with no children.

Sorry for the big long-winded explanation. But that really is the way people are linked together in genealogy. There is not a direct link between parents and children nor between children and parents. Rather, there is this data structure called a “family”, and then the parents and all the children are linked to this “family” data structure.

By the way, RM’s Couples View does show the father and mother for each family in the database. When the same two people have become linked to each other twice in this manner, you can see both of their families in Couple View. If you try to link two people together twice in this manner using the RM user interface, it will detect the problem and prevent the problem from happening. It’s only during imports of various sorts where the problem can arise. The imports can be from GEDCOM, direct from Ancestry, direct from FamilySearch, direct from Legacy Family Tree, or direct from Family Tree Maker.

---

<div class="post-metadata">

**Author:** ![dlmuntz1](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@dlmuntz1](https://community.rootsmagic.com/u/dlmuntz1)\
**Post date:** [November 21, 2026, 3:45am UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/5 "2026-11-21T03:45:37Z")

</div>

Thank you so much for the explanation. I did kind of figure out on my own that I was working in the wrong direction. I did bring up the family and added the existing person as a child and that worked as expected/hoped. So, you are right on with your explanation. The trick now is figuring out who the parents/families are for these folks. I think I’ve worked through most of them now. Fortunately for me, none of them are direct line ancestors. Thanks again for your expertise!

---

<div class="post-metadata">

**Author:** ![dlmuntz1](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@dlmuntz1](https://community.rootsmagic.com/u/dlmuntz1)\
**Post date:** [November 21, 2026, 3:56am UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/6 "2026-11-21T03:56:06Z")

</div>

Thanks so much for the great explanation. I can see a few of those as being possibilities for how these occurred for me. Also appreciate your comments about deleting these causing issues as well. I hadn’t even considered that.

---

<div class="post-metadata">

**Author:** ![nebbm](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nebbm](https://community.rootsmagic.com/u/nebbm)\
**Post date:** [November 24, 2026, 10:52pm UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/7 "2026-11-24T22:52:58Z")

</div>

> [@kevync1985](#):
>
> The Count Trees can happen a variety of reasons
> 
> I would strongly recommend to NOT delete anyone for at least several mth,
> 
> The can occur for many reasons:
> 
> In **RootsMagic** , **Count Trees** (found under **People \> Tools \> Count trees** or via the Command Palette) scans your database and groups people into connected networks—meaning anyone linked by parent–child relationships or marriage/spousal links.
> 
> Whenever a connection is broken, added, or bypassed, the number of trees or the headcount per tree can change. Common reasons this happens include:
> 
> - **Associations:** Linking two people via an **Association** (such as a witness, godparent, neighbor, or wedding party member) does **not** merge their family trees into a single connected tree. The associated person or their separate family group will still show up as its own tree in **Count Trees**.
> 
> - **DNA Matches Without Known Pedigree Links:** Adding DNA matches or suspected relatives to your database before confirming how they connect to your main tree will leave them in separate trees until a relationship path is established.he two above count for the majority of my floating tree

the two above count for the majority of my floating trees

 ![0225](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/6/6abc2e1bdee52c489ab55324b801d3a9b4f0f07a.png) ![0226](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/9/98856e22013153d1287a7eb8454beca6a647973f.png)

> [@kevync1985](#):
>
> - What I would suggest if you use Family Search
> 
> “Jump to”
> 
> View person then View Relationship
> 
> it will tell you how Family Search believe you are related (Based on Global Tree)  
> I will also show you the path of how.
> 
> ![image](https://canada1.discourse-cdn.com/flex030/uploads/rootsmagic/original/2X/b/b7f2af27d24ef78754960e8f561f62f4c9a0b85b.png)
> 
> you can review an decide on if it is reasonably accurate or not. Then you can often fix missing people etc.

This is mostly a miss for me, it always seems to link me thru an adopted maternal family, wife’s family, 3rd-4th cousin DNA matches shown as a 10-16 cousin, etc., but some are resolved walking up the tree setting the preferred couple, etc. I have had better luck in Tree View: Fan Chart.

---

<div class="post-metadata">

**Author:** ![kevync1985](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@kevync1985](https://community.rootsmagic.com/u/kevync1985)\
**Post date:** [November 25, 2026, 5:23pm UTC](https://community.rootsmagic.com/t/count-trees-cleanup/16647/8 "2026-11-25T17:23:58Z")

</div>

Rarely is there one perfect solution – there are only better solutions and usually that varies depending on many variables. So its just one options that you may not have tried that may work or at least lead you to clues
