I have a table in Airtable with two fields: "Child" and "Mother" (just an example to explain the structure easily). The "Mother" field is a linked record to the same table. Here’s a sample dataset:
| Child | Mother |
| Ravi | Sneha |
| Kavi | Sneha |
| Balli | Prerna |
| Malli | Prerna |
| Sneha | Mother |
| Prerna | Mother |
I want to add a new field, "Number of Children", that counts how many linked records (children) each mother has. The expected output should look like this:
| Child | Mother | Number of Children |
| Ravi | Sneha | 0 |
| Kavi | Sneha | 0 |
| Balli | Prerna | 0 |
| Malli | Prerna | 0 |
| Sneha | Mother | 2 |
| Prerna | Mother | 2 |
I tried using a Rollup field with COUNTALL(values), but it counts each linked record separately instead of summing up the total number of children for each mother.
How can I achieve this without creating another table? Any suggestions or workarounds would be greatly appreciated!

