How to count the number of custom inlinks? (and show it in a table)

It’s harder to write queries you can’t test… :slight_smile:

Try this one:

```dataview
TABLE length(spreadInlinks) as "Times pulled"
WHERE tarot-card
FLATTEN list(filter(file.inlinks, (inlink) => inlink.spread)) as spreadInlinks
WHERE spreadInlinks
SORT length(spreadInlinks)
```